users@glassfish.java.net

Re: Portable but custom global EJB names - are they really portable?

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Jul 2010 06:15:44 PDT

@EJB(name = "java:global/MyCustomName|, beanInterface = SomeInterface.class)

Think of it as an alias for the target EJB in the specified namespace (e.g., java:global, java:module, etc). It's a Java EE 6 requirement and supported by all compliant products.
[Message sent by forum member 'cf126330']

http://forums.java.net/jive/thread.jspa?messageID=477505