Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Deploying Ear in tomcat

 
Fawad Ali
Ranch Hand
Posts: 117
  • 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
Netbeans IDE Java 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: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nitin.
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!