-
1. Re: Why aren't @RemoteBinding and @LocalBinding part of EJB
bill.burke Apr 1, 2005 10:34 AM (in response to winterer)J2EE/EJB has never required/defined how a component should be bound in global JNDI. I hate it too, but there's no changing it...
-
2. Re: Why aren't @RemoteBinding and @LocalBinding part of EJB
winterer Apr 1, 2005 11:36 AM (in response to winterer)That's annoying, because that means, the new EJBContext.lookup(String name) is not very useful. If the JNDI names of my components are container dependent, the argument of EJBContext.lookup(String) is container-dependent too!
There should be a second method that accepts the business interface and the name of my EJB (similar to the @EJB annotation) for situations, where "lazy lookup" is required:public Object lookupEJB(String businessInterface, String name);
-
3. Re: Why aren't @RemoteBinding and @LocalBinding part of EJB
llucifer May 28, 2005 8:20 AM (in response to winterer)Is there any way to specifiy the jndi names for deployment in a external deployment descriptor (jboss.xml) or like that? I just don't want to recompile my application to be deployed under a different jndi name. Maybe I'm just missing a thing.
-
4. Re: Why aren't @RemoteBinding and @LocalBinding part of EJB
bill.burke May 28, 2005 10:57 AM (in response to winterer)we're working on XML DD support. Should be done in next release.