[jboss-user] [EJB 3.0] - Re: Inject dependency on JMS topic into servlet on startup
sanches
do-not-reply at jboss.com
Wed Jul 1 14:21:33 EDT 2009
jaikiran, this is true :)
Minutes ago I ensured this.
The solution is file WEB-INF/jboss-web.xml
| <?xml version="1.0"?>
| <!DOCTYPE jboss-web PUBLIC
| "-//JBoss//DTD Web Application 5.0//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
| <jboss-web>
| <depends>jboss.mq.destination:service=Topic,name=NMSTopic</depends>
| </jboss-web>
anonymous wrote : And from what i know, the annotations @Depends is not scanned for on servlets.
Is that one of those things which should present, but is still far from us?
Or this just won't be implemented?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241271#4241271
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241271
More information about the jboss-user
mailing list