This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In my project there are two applications interacting with one another via EJB 2.0. When i call the EJB of app1 from app2 on server restart the connection is fine and the process is run through fine. but when i call the same from servlet of app1 application throws a classcastexception for home stub and home class.
if the same scenario post server restart if the EJB is hit first from the same app1 servlet then by app2 the application is working fine.
Exception is..java.lang.ClassCastException: com.test._beanHome_Stub incompatible with com.test.beanHome
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: ClasscastException for ejb home and stub - Websphere 7