-
1. Re: EJB 3.1 Global JNDI names
jaikiran Dec 8, 2009 2:03 AM (in response to icordoba)JBoss 6.0.0.M1 does not have EJB3.1
-
2. Re: EJB 3.1 Global JNDI names
mpscholz Apr 27, 2010 5:32 AM (in response to jaikiran)As far as I can see, M2 neither doesn't support the EJB 3.1 standard for global JNDI names
(java:global[/<app-name>]/<module-name>/<bean-name>), right?
Is there a roadmap yet which milestone of JBoss 6 is going to implement that?
-
3. Re: EJB 3.1 Global JNDI names
jaikiran Apr 27, 2010 5:51 AM (in response to mpscholz)JBoss AS 6.0.0 M3 will have that. M3 release activities are in progress and will be available this month (that's the plan). If you want to test it out before M3 is released, then you can download the latest nightly build of AS trunk from here http://hudson.jboss.org/hudson/job/JBoss-AS-6.0.x/lastSuccessfulBuild/artifact/JBossAS_6_0/build/target/jboss-6.0.x.zip
-
4. Re: EJB 3.1 Global JNDI names
mpscholz Apr 27, 2010 6:06 AM (in response to jaikiran)Thanks.
That's encouraging to hear.
-
5. Re: EJB 3.1 Global JNDI names
mpscholz May 11, 2010 9:31 AM (in response to jaikiran)Looks like this didn't make it into M3 eventually, did it?
-
6. Re: EJB 3.1 Global JNDI names
jaikiran May 11, 2010 9:36 AM (in response to mpscholz)Matthias Paul Scholz wrote:
Looks like this didn't make it into M3 eventually, did it?
AFAIK, some part of global JNDI namespace did make it to M3. You will see the java:global namespace in the JNDI (although I haven't completely checked what part made it).
-
7. Re: EJB 3.1 Global JNDI names
mpscholz May 11, 2010 10:48 AM (in response to jaikiran)The 3.1 spec defines portable global JNDI names, by which remote session beans are exposed to remote clients, following this syntax:
java:global[/<app-name>]/<module-name>/<bean-name>[!<fully-qualified-interface-name>]
As far as I can see (please correct me if Iam wrong), the JBoss 6 M3 EJB container does not expose these names yet, but still the <bean-name>/remote ones only.
-
8. Re: EJB 3.1 Global JNDI names
jaikiran May 11, 2010 10:53 AM (in response to mpscholz)Matthias Paul Scholz wrote:
As far as I can see (please correct me if Iam wrong), the JBoss 6 M3 EJB container does not expose these names yet, but still the <bean-name>/remote ones only.
The last time I checked on JBoss AS trunk (before M3), I kind of remember seeing java:global namespace in jmx-console JNDI view. Let me give it a try on M3 and see whether it's available.
-
9. Re: EJB 3.1 Global JNDI names
matz75 Aug 13, 2010 3:42 AM (in response to jaikiran)I have now tried M4 and I can't find any global jndi names according to the new standard in jndiview.
I can se there is a section named "Global jndi names" but the names are still according the old <bean-name>/remote.
Do i need to do some configuration to get it to work?
-
10. Re: EJB 3.1 Global JNDI names
jaikiran Sep 23, 2010 1:07 AM (in response to matz75)Sorry, I did not notice your post earlier.
Mats Andersson wrote:
I have now tried M4 and I can't find any global jndi names according to the new standard in jndiview.
I can se there is a section named "Global jndi names" but the names are still according the old <bean-name>/remote.
Do i need to do some configuration to get it to work?
EJB3.1 Global JNDI names in AS 6 isn't yet completely available. We have plans to have it ready by 6.0.0.CR1 http://lists.jboss.org/pipermail/jboss-development/2010-September/016606.html
-
11. Re: EJB 3.1 Global JNDI names
jaikiran Oct 4, 2010 2:06 AM (in response to jaikiran)The current AS trunk (SNAPSHOT) has support for EJB3.1 JNDI names. If some one wants to give it a try (and report any issues), then you can download it from here https://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/lastSuccessfulBuild/artifact/JBossAS_6_0/build/target/jboss-6.0.x.zip
Any issues/questions can be reported in our EJB3 user forum here http://community.jboss.org/community/ejb3
-
12. Re: EJB 3.1 Global JNDI names
jaikiran Dec 1, 2010 2:11 AM (in response to jaikiran)This is now available in the recently released 6.0.0 CR1 http://www.jboss.org/jbossas/downloads.html
-
13. Re: EJB 3.1 Global JNDI names
suikast42 Jan 12, 2011 11:27 AM (in response to jaikiran)Hi jaikiran,
I'm trying the new capabilities of the JavaEE6 specification with JBoss-6.0.0.Final.
One of the great thing for me ist the topic that's discussed in this thread.
But this feature don't work in the final relaese. If I deploy MyApp I get old style JNDI mapping like:
16:58:59,884 INFO [AbstractNoInterfaceViewBinder] Binding the following entry in Global JNDI for bean:ManagmentBean
MyApp/ManagmentBean/no-interface -> EJB3.1 no-interface view
16:58:59,900 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
MyApp/UserBean/remote - EJB3.x Default Remote Business Interface
MyApp/UserBean/remote-my.company.business.interfaces.UserBeanRemote - EJB3.x Remote Business Interface
And if I do a lookup with java:global I get an Exception like:
javax.naming.NameNotFoundException: global not bound
I didn't change any configuration from JBoss.
So I'm very desperate. What I'm doing wrong ?
Thanks.
-
14. EJB 3.1 Global JNDI names
luis.planella Jan 13, 2011 6:13 AM (in response to icordoba)I'm also surprised about this... The java:global namespace does not exist.
Is there anything which can be configured or this is a bug in JBoss 6.0.0?