File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Portable EAR 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 » Java » EJB and other Java EE Technologies
Bookmark "Portable EAR" Watch "Portable EAR" New topic

Portable EAR

Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Can an EAR developed for a server be deployed in another server? For example an EAR developed in Tomcat. Can we deploy it on WebSphere or WebLogic server? What are the changes/modifications do we need to do? Thanks in advance.

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

EARs are designed to be deployable on any application server. Remember though that Tomcat is not an application server, it is a Servlet container, so you can't deploy EARs on it. You shouldn't need to make any changes to the EAR to deploy it on a different application server, however you will need to add server specific deployment configuration files.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Suppose I have developed the EAR on WebLogic, now I want to deploy it in WebSphere on JBoss the which are the server specific file do I need to change in each case. Kindly post with details. Thanks in advance.
I agree. Here's the link:
subject: Portable EAR
It's not a secret anymore!