[jboss-user] [JNDI/Naming/Network] - Mapped name in EJB 3.0

MirekSz do-not-reply at jboss.com
Tue Jul 7 05:28:11 EDT 2009


Hello,
I have a problem. i need set JNDI name of my bean like that

"beans/DefaultValues/OperatorService/Example".

I can do this by annotation
Stateless(name="beans/DefaultValues/OperatorService/Example") but
when I use <ejb-name>beans/DefaultValues/OperatorService/Example</ejb-name> in ejb-jar.xml i got SAXParser error about invalid content. 

When I put this name in <mapped-name>beans/DefaultValues/OperatorService/Example</mapped-name> there is no parser error but JBOSS ignores <mapped-name>. How to set this name i ejb-jar.xml  ???

Best regards

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242130#4242130

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242130



More information about the jboss-user mailing list