This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear Friends, i have written helloworld Local EJB and tried to access using a servlet. i am getting class cast exception while typecasting the reference to the home class after looking up the hello EJB please give the solution for this problem Thanks and Regards I.Ravi
Are your servlets and EJB's running in the same container? If your servlet's are not contained in your appserver, ie, your using Tomcat and Weblogic, you'll need to use a regular Entity bean, instead of a Local Entity Bean. HTH, /rick [ June 12, 2002: Message edited by: Rick Salsa ] [ June 12, 2002: Message edited by: Rick Salsa ]
Joined: Feb 07, 2002
Yes Both my Servlet and EJB are Running in WEBLOGIC 6.1 only i have deployed them in mydomain/defautwebapp Thanks I.Ravi