Is Tomcat is enough to handle the EJB

G

Garg

Hi,

Is Tomcat is enough to handle the EJB. Or I need other servers as well
like JBOSS, Weblogic,


Tarun Garg
 
?

=?ISO-8859-1?Q?Dirk_H=F6pfner?=

Garg said:
Hi,

Is Tomcat is enough to handle the EJB. Or I need other servers as well
like JBOSS, Weblogic,


Tarun Garg
Tomcat is "only" a web-container and can handle JSPs, Servelets. You
need additional ejb-container like WebSphere, Geronimo (OpenSource one)
and you right suggest JBoss, Weblogic.(Most of them use Tomcat)
These full application servers need normaly a addition database with
2 phase transaction control.

Cheers Dirk
 
G

Garg

As you are saying that JBoss, weblogic use Tomcat. So for the intiall
configuration I require the Eclipse, Tomcat(any version), JRE and JBoss
or Weblogic. Right.

Tarun Garg
 
J

John Gagon

Garg said:
Hi,

Is Tomcat is enough to handle the EJB. Or I need other servers as well
like JBOSS, Weblogic,


Tarun Garg

While the web.xml (specified in the specs for servlets) descriptor
(used by Tomcat) can contain information about EJBs (ie: JNDI info), it
doesn't handle them...that is to say, it doesn't object pool them, ie:
bring them to life when needed and allow services with them. The java
in tomcat can connect to over network port (locally or not) or be
embedded in an EJB container.

JBoss or WebLogic or any other "fully compliant" or "EJB" server would
do that. I believe there is a matrix of application servers out there
that would give you details about which app servers handle EJBs.

Sun's java site has some good tutorials and they too have a "reference
implementation" of an EJB container. (or they used to)

John Gagon
 
G

Garg

So, JBoss and WebLogic is not at all required for practice purpose.
But through Tomcat and Eclipse how can we deploy the application.

Tarun Garg
 
J

John Gagon

Garg said:
So, JBoss and WebLogic is not at all required for practice purpose.
But through Tomcat and Eclipse how can we deploy the application.

There are other brands besides JBoss or Weblogic. You would need them
if that is all you have access to/can't pay for the licenses of the
other products. There are several free containers out there. JoNAS is
another free container. There are others out there as well. It just
takes searching them. JBoss is very well known however and so if you
are going to experiment, I'd recommend learning on JBoss and then
finding the best server that suits you in terms of features after you
decide what you will be doing with the application server and its EJBs.


Eclipse can embed JBoss or deploy to it via JBoss IDE Eclipse plugin
(IIRC)...(you can download it from the jboss web site).

Tomcat is a web server as others mentions. It can do JSPs and Servlets
(which is often sufficient) but for EJBs, you want an EJB "Container"
(like JBoss or Weblogic or something else like Websphere or iPlanet etc
etc.).

Tomcat has a manager app which can be used for deployment. Jboss also
comes with a manager application that can deploy modules as well.
Weblogic has a very nice facility for deployment via a web page on a
particular port. So it can all be done in a browser or an ant script
can be run from Eclipse (or outside Eclipse). I mean, there must be
thousands of ways to deploy but I've already suggested some very common
ways. You can search more about that and play with it on your own. It's
the best way to understand it. In particular read everything on the
jboss web site that you can and also on jakarta.apache.org 's Tomcat
project. ie: all the documentation is right there.

HTH,

John Gagon
 
G

Garg

So, JBoss and WebLogic is not at all required for practice purpose.
But through Tomcat and Eclipse how can we deploy the application.

Tarun Garg
 
Joined
May 11, 2006
Messages
2
Reaction score
0
Replying for John Gagon on velocity.

He apologizes that it was so long.

Frank Lewis standing in for John Gagon (who has autism/Asperger's Syndrome)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top