This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
 
subject: Inject using @EJB or to do Lookup eachtime in Servlet Filter
 
Similar Threads
New to EJB
Server Side JAAS Questions
Server Side JAAS Question
configuring service provider for jndi lookup
clearing the ejb cache in Websphere 7 ??????