In different tutorials I am seeing different specifications for the same models.

e.g.: To bind a SessionBean to a give name, some use:


  | @LocalBinding(jndiBinding="some_binding")
  | 

others use:


  | @Stateless(mappedName="some_binding")
  | 

What am I missing or not getting? (ps. the LocalBinding annotation is also not 
available in the API documentation and/or Jboss EJB3.0 package)

Also, I find it highly annoying that the mappedName proprety isn't supported by 
Jboss (4.0.4GA) and that when you use the name property, the JAR filename is 
included in the JNDI binding, which makes hardcoding JNDI bindings impossible, 
since you have no garuantee whatsoever that the jar filename won't be changed 
by someone down the road.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to