I have an EJB that needs to be compiled at least using JDK 1.4.2 and deployed to run in a JBoss 4.0.2 server. I also have a SWT stand-alone application that needs to call that EJB, but for some specific environment restrictions that client application needs to compiled and run under JDK/JRE 1.3.1. It seems that the JBoss client libraries included for 4.0.2 are not 1.3.1 compatible, so I tried to use those of 3.2.5 and I am getting the following exception:
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 6926421946503004889]
So my question is: how can I setup a stand-alone application running in a 1.3.1 environment to be a client of an EJB deployed in a JBoss 4.0.2 server? Thanks for your help!!