Hi, All:
Can somebody help?
default ContextJndiBeanFactoryLocator, look for
java:comp/env/ejb/BeanFactoryPath
For example: SimpleEJB, what is "BeanFactoryPath" -->
SimpleEJB ????
Best Wish!
Ping
Printable View
Hi, All:
Can somebody help?
default ContextJndiBeanFactoryLocator, look for
java:comp/env/ejb/BeanFactoryPath
For example: SimpleEJB, what is "BeanFactoryPath" -->
SimpleEJB ????
Best Wish!
Ping
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