PDA

View Full Version : default ContextJndiBeanFactoryLocator


pinglu
Sep 24th, 2004, 12:44 PM
Hi, All:

Can somebody help?
default ContextJndiBeanFactoryLocator, look for
java:comp/env/ejb/BeanFactoryPath

For example: SimpleEJB, what is "BeanFactoryPath" -->
SimpleEJB ????

Best Wish!
Ping

alesj
Oct 25th, 2004, 12:14 PM
This is the path under which you have your context xml file.
I believe you declare it under environment entry in your ejb-jar.xml file (see EJB spec 2.1 chapter 20.2.1.2).
I'm using ContextSingletonBeanFactoryLocator and it works for me to wire up server beans. Usage is pretty simple - just follow java docs.

Rgds, Ales