• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat and EJB

 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No.

Try JBoss
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I have heard there are plans for Tomcat to support EJB.
perhaps the authors can comment?
thanks
Max
 
Ranch Hand
Posts: 35
MyEclipse IDE Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are many ejb containers.

Oracle application server.
IBM Websphere.
BEA Weblogic.
JBoss Application Server.
Borland Enterprise Server.
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Application Server Matrix at TSS ::

http://www.theserverside.com/reviews/matrix.tss
 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
this llama doesn't want your drama, he just wants this tiny ad for his mama
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic