anonymous wrote : Does the lookup name change if I deploy it in an EAR file?
Yes, it does change. If you are deploying the bean as part of an ear file, then the lookup
string will also have a ear file name prefixed to it. For example, if your TestBean is
being deployed in an ear file named myApp.ear and you want to lookup the remote interface
then the lookup string will be as follows:
Test beanRemote = (Test) context.lookup("myApp/TestBean/remote");
Notice the myApp prefixed to the jndi-name.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116228#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...