• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Tomcat vs. Sun Java Web Server

 
Chris Koerner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chris Koerner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't absolutely know that you need EJB's, you probably don't.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic