[jboss-user] [EJB 3.0] - EJB3 Session Bean as 2.1 Service

cburnley do-not-reply at jboss.com
Tue Nov 25 16:26:34 EST 2008


I'm deploying a remote ejb3 service (4.2.3) that needs to be called by a legacy ejb 2.1 (4.0.3) client. 

I've declared the bean with @Remote and @RemoteHome, and added container-configuration in a jboss.xml but it seems as though the service is still exposed as a ejb3 service because I get these types of exceptions:

anonymous wrote : java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 831091
  | 5813626447181, local class serialVersionUID = 2609262789016232311
  | 

which would imply that it is not really a 2.1 view of the service because it uses ejb3 proxy classes, making it incompatible with the 4.0.3 client. 

Is it even possible to do this with jboss ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192275#4192275

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192275



More information about the jboss-user mailing list