Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying Ear in tomcat

 
Fawad Ali
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I was asked to deploy an ear file (previously running on Websphere) on tomcat server. After a little search, I found that I wont be able to deploy an ear file to tomcat. I have compiled a reply for my client but I want to be confirm of this whether I have compiled it correctly or not.

Tomcat is web a server while an ear file can be deployed to a full blown application server like JBoss or WebSphere. We can still convert an ear file deployment to a tomcat deployment if the ear file does not depend on any EBJ APIs. We will just have to take all the class files and libs and place in a directory in tomcat's webapps. But if the ear file depends on some EJB APIs, JBoss will be the only option, if we want to move from WebSphere.


Is this a correct reply? If not, please guide me in a right direction.
 
Nitin Surana
Ranch Hand
Posts: 129
Java Netbeans IDE Windows
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wrong choice, tomcat doesn't support the EE specs. It is only meant for web-apps.

But you are at luck, cause now Tomcat + javaEE = TomEE, is released which supports EE and hence you can deploy your ear in tomee.

http://openejb.apache.org/apache-tomee.html
 
Fawad Ali
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nitin.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic