[jboss-user] [JNDI and Naming] - client lookup EJB method in JBoss AS 7.0, but return **$$$view1
Icey Thomas
do-not-reply at jboss.com
Mon Aug 29 08:37:11 EDT 2011
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&containerType=14&container=2083]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110829/d5fe52e5/attachment.html
More information about the jboss-user
mailing list