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.
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.
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.