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.
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?
In the future it will be the ejbName instead of the JNDI name.