File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and EJB

 
Hanna Habashy
Ranch Hand
Posts: 532
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Tomcat server come with an EJB container? If not, is there any other free J2EE server that support EJB?
 
Venkatraman Kandaswamy
Ranch Hand
Posts: 120
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.

Try JBoss
 
Max Tomlinson
Ranch Hand
Posts: 365
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, I have heard there are plans for Tomcat to support EJB.
perhaps the authors can comment?
thanks
Max
 
Aodhan Hoffman
Ranch Hand
Posts: 35
Java MyEclipse IDE Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between JavaBeans and EnterpriseJavaBeans. According to previous post, Tomcat does not support EJB, but it does support JB? What is the difference?
 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaBeans are pretty much just java objects with get and set methods and a blank constructor. They are accessed only within the scope of the web server. They can be saved in and retrieved from attributes in a given scope, such as the context, session, request, and page. Tomcat supports JavaBeans.

EJB's are objects that require several files for each object to facilitate being shared between two or more computers. Tomcat does not support this at the moment, but JBoss does. JBoss includes Tomcat.
 
Andy Bowes
Ranch Hand
Posts: 171
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As stated above Tomcat does not support EJBs (some might actually say that this is a major benefit ) and it is unlikely to be extended to support them.

There is another project in the Apache portfolio that is being developed to be an open source EJB platform. For more info see Apache Geronimo Home Page. This is still in a relatively early incarnation but it could become a bit of competition for jBoss.
 
Albert Nunes
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many ejb containers.

Oracle application server.
IBM Websphere.
BEA Weblogic.
JBoss Application Server.
Borland Enterprise Server.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat does not support EJB but you can call ejb from another Application SErver such as JBoss, J2EERI .. etc ..

I think, In the future, Tomcat will support EJB ..
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Application Server Matrix at TSS ::

http://www.theserverside.com/reviews/matrix.tss
 
satheesh krishnaswamy
Ranch Hand
Posts: 137
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Tomcat at present will not support EJB.EJB's could be run only on a J2EE server (Application server) and Tomcat is not an Application server.

use can use Jboss,which can be downloaded free of cost.The latest version is Jboss 3.2.5.But sun has tested some servers and had given in their site about their performance.Sun one Server plays important role which also free and also tested.

Some servers are not tested by Sun Micro Systems.So dont rely on that.

If you wish to pay and use Bea Weblogic and IBM Websphere etc.. are really good.
Thanks
With kind regards
Satheesh.K
 
friso dejonge
Ranch Hand
Posts: 162
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it should not be the question which ejb-container you should use, but maybe the question should be whether to use ejb's at all.
You could bypass it all by using hibernate for persistency.
A few weeks ago there was a give away on that book and it seemed mighty interesting. Ejb's as we know them are not worth the effort
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic