| Author |
Apache Tomcat 6.0.16 a web server/ App server
|
Anuradha Prasanna
Ranch Hand
Joined: Mar 09, 2006
Posts: 115
|
|
Hi,
I want to develope persistent entity beans using EJB 3.0
Iam new to tomcat.
Can i use Apache Tomcat 6.0.16 to develop stateful session beans and entity beans ?
does tomcat support annotations and ejb 3?
I also want to know if Apache Tomcat 6.0.16 supports the functionalities provided by app servers like Weblogic , Websphere etc.?
|
SCJP 6.0 90%
|
 |
Pavel Kubal
Ranch Hand
Joined: Mar 13, 2004
Posts: 356
|
|
Hi Anuradha,
Tomcat alone is only Servlet container. It needs EJB container, but there is possibility to install embedded JBoss into Tomcat. Please refer to seam documentation
http://docs.jboss.com/seam/latest/reference/en-US/html/configuration.html#config.install.embedded
|
 |
Karthik Shiraly
Ranch Hand
Joined: Apr 04, 2009
Posts: 364
|
|
Hi,
Another option is to use OpenEJB inside Tomcat.
Is there a good reason you want to use only Tomcat? If you're looking for free JavaEE app servers, there're many - JBoss, Sun Glassfish, Apache Geronimo,...
|
 |
Anuradha Prasanna
Ranch Hand
Joined: Mar 09, 2006
Posts: 115
|
|
In one of the interviews i was asked,
"Give an example of using Apache Tomcat and Jboss in a Java application. What are the purposes of each of them?"
I was not able to answer it properly.
Can anyone please provide an answer or insight into this question?
|
 |
Misha Ver
Ranch Hand
Joined: Mar 03, 2008
Posts: 470
|
|
Anuradha Prasanna wrote:In one of the interviews i was asked,
"Give an example of using Apache Tomcat and Jboss in a Java application. What are the purposes of each of them?"
I was not able to answer it properly. Can anyone please provide an answer or insight into this question?
I didn't get the question, it is phrased badly. Anyway, what was your answer?
|
 |
Anuradha Prasanna
Ranch Hand
Joined: Mar 09, 2006
Posts: 115
|
|
I answered,
tomcat wil be acting as web server for the web tier,
and jboss as app server for ejb tier.
is that correct?
But i think, since jboss supports servlets and ejbs, why use tomcat? It sounded to me like a invalid question.
or is there any specific use for using tomcat and jboss together?
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
|
|
JBoss embeds a copy of Tomcat within itself to handle servlets and JSPs. You don't have to install a separate Tomcat - it comes as part of JBoss.
It used to be that JBoss had 2 choices of servlet/JSP engine: Tomcat and jetty, but I talked to one of the JBoss people several months ago and he said jetty support has been dropped for the newer versions of JBoss.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Apache Tomcat 6.0.16 a web server/ App server
|
|
|