Java EE 5 and Tomcat

Installed:

- Java EE 5

Want to do:

- to write Java Servlets

Questions:

1. Do I need Tomcat?

2. Is it included in Java EE 5 update 1? (If not, what's the web server that's included in Java EE 5?)

3. Would installing Tomcat on top of Java EE 5 cause any conflicts? (i.e. port and otherwise.)

[340 byte] By [EricDunna] at [2007-11-26 16:10:16]
# 1

The enterprise edition comes with the sun application server which is more than enough, it can do JSP's, servlets and more.

> Would installing Tomcat on top of Java EE 5 cause any conflicts?

No, just make sure that both are listening on different ports.

To write servlets you do NOT need the enterprise edition however, you only need to install Tomcat and then add the tomcat/common/lib/servlet-api.jar to your classpath. Then you can compile your servlets without problem.

gimbal2a at 2007-7-8 22:32:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...