-
1. Re: Using java EE 6 portable jndi names
wdfink Oct 30, 2014 3:58 AM (in response to zizou84)If you use the remote-naming approach you need to use the external JNDI name myEjb/TestEjb!formation.ejb.TestEjbRemote.
But I recommend to use the ejb-client approach as the remote-naming is not recommended for EJB invocations as it functionality is restricted.
-
2. Re: Using java EE 6 portable jndi names
zizou84 Oct 31, 2014 10:39 AM (in response to wdfink)Thanks Fink for your response but why i can't use global jndi defined in java ee6.
does jboss 7.1.0 implements java ee6?
-
3. Re: Using java EE 6 portable jndi names
wdfink Oct 31, 2014 11:26 AM (in response to zizou84)1 of 1 people found this helpfulYes AS7 implements JavaEE6.
But the context "java" is only bound to the local server and not available from other JVM's
-
4. Re: Using java EE 6 portable jndi names
zizou84 Oct 31, 2014 12:02 PM (in response to wdfink)Thanks Fink
"But the context "java" is only bound to the local server and not available from other JVM's"
Is this specific to jboss because when using glassfish,i had no problem
If yes ,where preventing remote acces by java: context
-
5. Re: Using java EE 6 portable jndi names
wdfink Nov 4, 2014 7:09 AM (in response to zizou84)From the spec there is no "java:" prefix. I suppose it is glassfish specific that it works and you can use it without java: in glassfish as well.