Two Laptop Bag
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EAR File Portability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EAR File Portability" Watch "EAR File Portability" New topic

EAR File Portability

Kevin Bradley

Joined: May 12, 2003
Posts: 11
Is the EAR file expected to be portable according to J2EE specs? In other words, can I deploy an EAR file constructed by WebSphere's Application Assembly tool into WebLogic?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

No. It is not portable, each vendor had its own deployment descriptor.

Goan Balchao
Ranch Hand

Joined: Mar 25, 2002
Posts: 93
Well, the EAR file should be portable as far as development and application assembly is concerned. But will not be deployable as is in a different application server.
Some of the server specific configuration files shall have to be added / modified, the resource manager settings will be different and so on ..
For example if I have simpleGUI.ear in JBoss, I need to have the JBoss specific configuration file jboss.xml, whereas in Weblogic it will be welogic-ejb-jar.xml & weblogic-rdbms something .xml, for ATG J2EEDynamoSpecifier.xml.
But as far as I know, the application will not have to be rebuilt

Hemant Kamat<br />SCJP2<br />SCWCD<br />SCBCD<br />SCEA-I
I agree. Here's the link:
subject: EAR File Portability
jQuery in Action, 3rd edition