*
The moose likes EJB and other Java EE Technologies and the fly likes Inject using @EJB or to do Lookup eachtime in Servlet Filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Inject using @EJB or to do Lookup eachtime in Servlet Filter" Watch "Inject using @EJB or to do Lookup eachtime in Servlet Filter" New topic
Author

Inject using @EJB or to do Lookup eachtime in Servlet Filter

Pratik Surti
Greenhorn

Joined: Sep 16, 2006
Posts: 21
Hi All,

I want to inject the EJB (Local) into the Servlet Filter and the EAR is deployed on Weblogic 11g.

My question is:

Shall the @EJB Annotation will work on Weblogic 11g or it will be ignored?
OR
I have to do look up as below and mention the references in web.xml and weblogic xml file:



Thanks


Pratik Surti
SCJP 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inject using @EJB or to do Lookup eachtime in Servlet Filter