users@glassfish.java.net

Re: How to remove osgi war version from the JNDI Lookup?

From: <forums_at_java.net>
Date: Sun, 26 Feb 2012 10:33:28 -0600 (CST)

 Hi Sahoo, 

Now I returned to this problem.  I tried to change jndi name using
annotations:

@Stateless(mappedName = "java:global/kuku/MyBean",
name="java:global/kuku/MyBean") public class MyBean implements
MyBeanInterface { ..
As a result, the JNDI name was:

java:global/com.test.mywar_1.0.0.SNAPSHOT/java:global/kuku/MyBean
I'll try to define it using ejb-jar.xml

thanks


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