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?