Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Pratik Surti
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic