Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EAR File Portability" Watch "EAR File Portability" New topic
Author

EAR File Portability

Kevin Bradley
Greenhorn

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: 8919

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


Groovy
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EAR File Portability