• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run EJB program in Tomcat?

 
gyan kumar
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell how to run ejb program.
 
gyan kumar
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply.

It seems Tomcat is not for EJBs can I use weblogic. Is weblogic better than Tomcat.
 
Tim Moores
Bartender
Posts: 2745
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is a web server and servlet container. WebLogic is a JEE server (which supports a lot more APIs than Tomcat does, like EJB).
With the help OpenEJB -explained in the article Hebert linked to- Tomcat can be made to support EJBs, though.
 
gyan kumar
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to both of you.
 
David Blevins
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good news is the OpenEJB/Tomcat stack mentioned has now been officially Java EE 6 certified as Apache TomEE. So now you can get Tomcat with compliant EJB features.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic