While getting Stateless bean home in a JSP page ClassCastException is giving.
0 posts in topic
Flat View  Flat View

Posted By:   srinivas_reddy
Posted On:   Monday, April 30, 2001 12:31 AM

I am trying to get stateless bean home interface in a JSP page.JNDI lookup is success.While narrowing to to home interface as bellow
ControlerHome reader = (ControlerHome)PortableRemoteObject.narrow(context.lookup("forum.Controler"),
The error message is
Servlet failed with Exception
java.lang.ClassCastException: com.kale.kdf.forum.ControlerBeanHomeImpl_ServiceStub
But when i try Entity Bean it is working fine.
pls let me know how get the home interface or what is wrong with the above code.

About | Sitemap | Contact