| Author |
Apache Tomcat vs. Sun Java Web Server
|
Chris Koerner
Greenhorn
Joined: Mar 19, 2007
Posts: 2
|
|
Hello, I'm new to the Java world and I'm trying to understand the differences between these two web servers. Since I'm approaching this from the viewpoint of a medium sized company wanting to to do SOA architecture and running JSP/Servlets/EJB etc would SJWS be a better selection then AT? Thanks, Chris
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56167
|
|
Well, since Tomcat doesn't support EJBs, guess that's an easy one. JBoss, though, uses Tomcat as its default servlet engine. [KLUNK] [ March 19, 2007: Message edited by: Ben Souther ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Tomcat is only a Servlet/JSP container (+ webserver). It can't host EJBs. If you want an opensource container that supports the full J2EE stack, look at JBoss (which uses Tomcat as its servlet/JSP container). I'm not that familiar with Sun's product so I can't give you any comparisons.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Chris Koerner
Greenhorn
Joined: Mar 19, 2007
Posts: 2
|
|
Thank you for the responses. I have not done EJB so may I ask if EJBs are the proper architecture for SOA? Or would having that logic in POJO's be better. My head is spinning in a world of new buzzwords and acronyms so please excuse any improper use of terms as I try to understand it all.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56167
|
|
|
If you don't absolutely know that you need EJB's, you probably don't.
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
JBoss has support for webservices built in. Tomcat together with the apache/Axis web service engine is also perfectly capable of hosting a Web Service application. Again, I don't know enough about Sun's products to comment on them.
|
 |
 |
|
|
subject: Apache Tomcat vs. Sun Java Web Server
|
|
|