File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3.0 & 2.0 compatibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3.0 & 2.0 compatibility" Watch "EJB 3.0 & 2.0 compatibility" New topic
Author

EJB 3.0 & 2.0 compatibility

skumar nand
Greenhorn

Joined: Dec 18, 2008
Posts: 21
We are planning to develop a EJB3.0 application on WebLogic 10.3 server.
We suppose to use some jar files (e.g xyz.jar) which used EJB2.0 for their development.
In this case will my application(EJB 3.0) work with the xyz.jar(EJB2.0)?
Or we need to get the EJB3.0 version of xyz.jar to use with our application?

Thanks in Advance,
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Your question seems not to be clear. Did you mean the jar files for the EJB API? If is the EJB API jar, then you need to have the latest specification which is EJB 3.0.


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

As per the EJB 3.0 specification, the application servers implementing the EJB 3.0 spec should be backward compatible.
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
Skumar,

FYI, there is a chapter in EJB 3 in Action dedicated to EJB 2.x and EJB 3.0 compatibility, interoperability and migration issues.

As Jothi stated, WebLogic 10 will fully support the co-existance of EJB 2 and EJB 3, so you can undertake the migration in a phased manner.

Cheers,
Reza


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB 3.0 & 2.0 compatibility
 
Similar Threads
SCEA 5 and EJB
difference between ejb2.0 and ejb3.0?
Migration of Java Application from WebLogic 8.1 to Weblogic 10.3
Why do I need to use EJB?
Migration of Java Application from WebLogic 8.1 to Weblogic 10.3