This content has been marked as final.
Show 3 replies
-
1. Re: injection over jar boundaries
bill.burke Feb 22, 2005 9:26 AM (in response to mwelss)you'll have to use @Inject(jndiName) or @EJB(jndiName) to obtain the reference where jndiName will be the global jndiName of the EJB you are referencing.
FYI, this will change in the future. There was a lot of disagreement to allow direct global jndiNames in injection.
Bill -
2. Re: injection over jar boundaries
mwelss Feb 22, 2005 9:41 AM (in response to mwelss)Bill,
thanks for your reply, it works as you suggested.
One question to your remark: will in the future just the syntax change or will it be impossible?
regards,
Martin -
3. Re: injection over jar boundaries
bill.burke Feb 22, 2005 9:53 AM (in response to mwelss)In the future it will be the ejbName instead of the JNDI name.