Hi,
I have following environments -
Client side -
Tomcat 5.5
Compiled and running with JDK/JRE 1.5
Server side -
JBOSS 5.1.0 running with JRE 1.6
Code compiled with JDK 1.5
Now, client on Tomcat makes a remote EJB(EJB 3.0) call on JBOSS server. The client is able to lookup the EJB bean on JBOSS server but when i typecast the looked up bean object to Remote interface, it gives ClassCastException.
I would like to understand if there is anything wrong in my environment and if there is then what should i do to make it successful. Truly, i cannot make any change on client so whatever change i will be able to do is on server.
Please suggest.
Thanks.
Regards,
Hemil