users@glassfish.java.net

GF 3.1 and java:/module scope

From: <forums_at_java.net>
Date: Wed, 6 Apr 2011 20:32:52 -0500 (CDT)

Hi,

I Have an EJB defined as:

[code]@Stateless public class MyEJB{...}[/code]

packaged in a jar file, that is istself packaged in a war file.

When I deploy the war, I can see that the EJB is bound in teh JNDO 'globa;'
contaext:

[code]Portable JNDI names for EJB MyEJB :
[java:global/myapp/MyEJB!test.MyEJB, java:global/myapp/MyEJB][/code]

But mt understanding of the specs is that teh bean should also be bound to
java:module/MyEJB so that it can be looked from inside the jar idenpendently
of what war file the jar is packaged in.

How come GF 3.1 does not make my bean available in the java:module scope?

Thanks

Vincent

 


--
[Message sent by forum member 'vincent_aumont']
View Post: http://forums.java.net/node/789374