aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Cross Spec EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Cross Spec EJBs" Watch "Cross Spec EJBs" New topic
Author

Cross Spec EJBs

Ben Bailey
Greenhorn

Joined: Jan 19, 2003
Posts: 4
I've got an Entity EJB implemented at EJB Spec 2.0. that I host in my EJB Container.
I have a client that would like to use this EJB, but his EJB Container is at EJB Spec 1.1.
I would develop a 1.1 Session EJB, and would provide him with these Remote interface components, but I don't know if I create a Session EJB at Spec 1.1, and also host it in my 2.0 EJB Container, would the new 1.1 Session EJB be able to communicate correctly with my existing 2.0 Entity EJB (via the Remote interface components)?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
They should be able to communicate with each other. The EJB spec version only matters for developing/deploying the bean into a container -- when it's deployed, the client uses good old RMI to invoke methods and is effectively ignorant of the spec version.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cross Spec EJBs
 
Similar Threads
how web container talk with EJB container?
What transaction attributes can apply to session bean methods in EJB 2.0?
elaborate the reason for Local interface with EJB 2.0 CMR
Coffee Cream question
Remote or local call