jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes Apache Tomcat vs. Sun Java Web Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Tomcat vs. Sun Java Web Server" Watch "Apache Tomcat vs. Sun Java Web Server" New topic
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: 60781
    
  65

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 60781
    
  65

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Tomcat vs. Sun Java Web Server
 
Similar Threads
which HTTPSERVER could i use to do dynamic download?
~~~ How to configre Java Web Server to access Oracle driver
Java Web Start
Other than Java Certifications, what else is good?
Apache Struts 2 Web Application Development