File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
EJB and other Java EE Technologies
Inject using @EJB or to do Lookup eachtime in Servlet Filter
Joined: Sep 16, 2006
Sep 24, 2012 22:50:12
I want to inject the
(Local) into the
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?
I have to do look up as below and mention the references in web.xml and weblogic xml file:
Hashtable env = new Hashtable(); env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" ); Context ctx = new InitialContext( env ); ctx.lookup( "myejb" );
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Inject using @EJB or to do Lookup eachtime in Servlet Filter
New to EJB
clearing the ejb cache in Websphere 7 ??????
Server Side JAAS Question
configuring service provider for jndi lookup
Server Side JAAS Questions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013