Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE & JSP

 
Mike Southgate
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm familiar with J2SE and am just starting to look at JSP and servlets.. I've created an tested my first JSP without problems. My question is: do you need J2EE to run JSPs and servlets? I thought you did but I haven't loaded J2EE yet and I've done a JSP (which gets turned inta a servlet, I understand) and it works fine. So why do you need J2EE?
ms
 
Dani Mazzuca
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
no. You don't need j2ee in order to run servlets and jsp's. You only need a Web-server that supports servltes and Jsp, like Tomcat. J2ee containers supports both, servlets and Jsp, and EJB (and much more).
Dani
 
Sal DiStefano
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2EE is a platform made of many parts. One of those parts is a servlet container which is needed for jsp support. This functionality is provided by Tomcat, Jetty, etc.
There are J2EE Application servers which contain not only the servlet container but also EJB containers, transaction support, etc. Like Websphere, WebLogig, jBoss, etc.
Sal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!