[jboss-user] [EJB 3.0] - Re: Enable @Resource annotations in webapps

jaikiran do-not-reply at jboss.com
Tue Mar 17 04:22:35 EDT 2009


Its supported in JBossAS-5 versions. All you need is an web application with version 2.5 of the web_app xsd in your web.xml:

 <web-app version="2.5"   
  |      xmlns="http://java.sun.com/xml/ns/javaee"   
  |      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  |      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">  

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218497#4218497

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218497



More information about the jboss-user mailing list