If I have an EAR named foobar.ear and I have stateless session bean marked:

@Stateless ( name = "/somwhereelse/foobar" )
public class foobar...etc.

The JNDI binding becomes foobar/somwherelese/foobar/local which IMO seems 
wrong.  The name() attribute should provide a mechnism to specify the global 
JNDI since its EJB3 primitive unlike @LocalBinding which is JBoss specific.  I 
realize that by default the EJB3 JNDI namespace by default is "name of ear 
file"/* but shouldn't the name() attribute be able to override that? 

Thanks!

PS Where are the specs for the annotations?  I don't see any real doc in 
JSR-220.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to