Hello.  I have a bean called ListingManagerBean

@Stateless(name="ListingManager")

In order to get the context name in a servlet I always have to define it as:

InitialContext ic = new InitialContext();
ListingManager lmb = (ListingManager) ic.lookup( "proj/ListingManager/local" );

"proj" is the name of my ear file.  Is there a way that it won't require the 
'proj' part of it.  My concern is if I ever rename the ejb file.  

Thanks, Graeme.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994869
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to