JNDI Name for EJB (JBoss migration)
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <OFAD1E9243.D59C2F80-ON86257772.005F7A30-86257772.00604D65@aviall.com> |
Hello, I'm trying to migrate my trivial EJB3 from JBoss to Jonas. So far I can get my ear up and running but I am not able to access it via jndi. For an EJB "Foo" having an implementation "FooImpl.java" JBoss will automatically create and publish JNDI names for me for the local/remote interfaces respectively: Foo/FooImpl/local Foo/FooImpl/remote I would look up these names just as they are here in my initial context and we're good. These are generated this way by default in JBoss (although there is an annotation to override this and specify the desired jndi name) with no action required on my part. What is the Jonas equivalent? Does Jonas publish my EJBs using a different default naming convention? Trying various permutations I haven't been able to find what jndi name will access my ejb local and remote APIs. Do I need to configure something explicitly? Thanks! Greg "If I had asked my customers what they wanted, they would have said 'A faster horse'" -- Henry Ford _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail message, including attachments, may contain confidential, proprietary, or export controlled information. Any unauthorized disclosure, distribution, or other use is prohibited, unless expressly authorized. If you receive this e-mail in error, please notify the sender, and delete all copies of the original message from your systems.