Icey Thomas [
http://community.jboss.org/people/icey.xiong] created the discussion
"client lookup EJB method in JBoss AS 7.0,but return **$$$view1"
To view the discussion, visit:
http://community.jboss.org/message/623136#623136
--------------------------------------------------------------
Hi,Everyone,
I have a problem.thank you for your kind attention!
I create a EJB Local bean with just one method.I lookup the method in a servet ,then
a ClassCastException is threw:
com.multiable.loginBean.login$$$view1 cannot cast to com.multiable.LoginBean.Login.
With the lookup ,I want it to bu com.multiable.loginBean.login,but the result has
something more “$$$view1”.
Here is my way to do look up:
login=(Login)InitialContext.doLookup("java:global/testEJB/LoginBean!com.multiable.loginBean.Login");
how can be like this? Does anyBody know something about this?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/623136#623136]
Start a new discussion in JNDI and Naming at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]