Announcement Announcement Module
Collapse
No announcement yet.
default ContextJndiBeanFactoryLocator Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • default ContextJndiBeanFactoryLocator

    Hi, All:

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

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

    Best Wish!
    Ping

  • #2
    Environment entry

    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

    Comment

    Working...
    X