This content has been marked as final.
Show 4 replies
-
1. Re: Enable @Resource annotations in webapps
jaikiran Mar 17, 2009 2:06 AM (in response to kdekooter)You mean in servlets?
-
2. Re: Enable @Resource annotations in webapps
kdekooter Mar 17, 2009 3:36 AM (in response to kdekooter)Yes, in servlets or other beans in my web application.
-
3. Re: Enable @Resource annotations in webapps
jaikiran Mar 17, 2009 4:21 AM (in response to kdekooter)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">
-
4. Re: Enable @Resource annotations in webapps
kdekooter Mar 17, 2009 5:13 AM (in response to kdekooter)Thanks.