Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compatibility issues with SUN jre and IBM jre

843798Jul 26 2007
Hi all,

I am facing the problem with IBM websphere JRE. I have an EJB compiled and deployed using wepsphere JRE. In fact I am using RAD for doing this. RAD internally uses IBM JRE for compilation.

Now, I am downloading set of jar files using JNLP to the client side when the user hits the server . In one of the jar there is main class that starts swing GUI at the client side. Now this swing application is trying to interact with the EJB deployed on the server.

Here I am getting Class cast Exception at the statement where the casting is happening to the home object after getting the lookup object. (I am sure that same remote and home objects that are deployed in the server are placed in the client side) My guess of this is because at the client side sun JRE is not able to cast the home object of the deployed EJB compiled using IBM JRE. If not, can anybody guess what might be the problem. If that is the problem what is the solution for this.

Please help me.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2007
Added on Jul 26 2007
0 comments
99 views