• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Containers used in the JavaServer Pages book

 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do believe that "Chapter-4. Setting Up the JSP Environment" discusses about the Tomcat 5 installation and deals with installing web apps used in the book to it...
I just would like to know whether any other web containers are discussed in general(roughly) in the book... Since JSP 2.0 is not widely used in the industry yet, there are not a lot of web containers that supports JSP 2.0, as far as I know...
I know that new versions of Resin, Tomcat and Websphere containers support JSP 2.0 now... Anything else? Well, I just would like to know if overview of them are discusses in the book or not...
Thanks a lot, Mr.Bergsten...
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Sun ONE may support JSP 2.0, as it is a container by SUN
SUN should provide container that supports her own specification.
Nick.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, Nick, I just found out in Sun Site that
Sun Java System Application Server Platform Edition 8 developer release supports J2EE 1.4... But I guess Tomcat 5 Stable Version was released earlier than Sun's container... I guess so, because when I was preparing for SCWCD 1.4, even Kathy Sierra recommends us to use Tomcat 5... That's why I think that Tomcat is going faster than Sun's container...
What's your opinion on it?
Nick, let's wait for Mr.Bergsten reply on the question that I post...
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is devloped by open source developers who do not bother about the market to release their prouduct unlike Sun who worries whether releasing new version will be profitable or not. They are waiting for the right time. I find that Customers are not jumping to new technologies as they used to do some years back.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Management always resist to change, if they need to invest more money. Thus, we always feel that new technologies will be used after they released for 1/2 to 2 years.
Personally, I think some of the departments inside Government will keep up to date, especially the IT division.
For outsiders, I think they need a cool reason for mirgating from one technology to another one.
Nick.
 
Hans Bergsten
Author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ko Ko Naing:
I do believe that "Chapter-4. Setting Up the JSP Environment" discusses about the Tomcat 5 installation and deals with installing web apps used in the book to it...
I just would like to know whether any other web containers are discussed in general(roughly) in the book... Since JSP 2.0 is not widely used in the industry yet, there are not a lot of web containers that supports JSP 2.0, as far as I know...
I know that new versions of Resin, Tomcat and Websphere containers support JSP 2.0 now... Anything else? Well, I just would like to know if overview of them are discusses in the book or not...
Thanks a lot, Mr.Bergsten...


I only describe how to install and setup Tomcat 5 in the book, but the examples are packagaged as a standard web archive (WAR) structure that should be easy to install in any compliant web container. In all places where I discuss non-standard features, I point out that what I describe applies to Tomcat and that you must read the documentation for the container you use to learn how to do the same for that container.
Regarding containers supporting JSP 2.0, I touched on this in a thread yesterday. The ones I know of that have final versions are Tomcat 5 and Resin 3. Others have early access (alpha, beta, developers release, etc.) versions with JSP 2.0 support, e.g., Jetty, Websphere and maybe Oracle. The final spec was released in November last year and commercial versions have to go through tons of internal testing before they are released. Many of them are based on Tomcat, though, so it shouldn't be much longer before you see a lot of final version containers with JSP 2.0 support.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Oracle9i AS may not support JSP 2.0, I am not sure whether there are plug-ins so that it works fine with JSP 2.0.
But, Oracle10G AS will be released soon. I think it will cover the latest J2EE specification.
Nick
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hans Bergsten:

I only describe how to install and setup Tomcat 5 in the book, but the examples are packagaged as a standard web archive (WAR) structure that should be easy to install in any compliant web container. In all places where I discuss non-standard features, I point out that what I describe applies to Tomcat and that you must read the documentation for the container you use to learn how to do the same for that container.

Thank you very much for your great reply, Mr.Bergsten... Yes, example codes in a JSP book should be generic to any web containers, but you are right that, in some situation, there will be a little bit difference in the containers we use... Actually, every single code we did is up to the containers in the way they manipulate it... But I do believe that they container developers are trying their best to get the closest feature what the specs mandate...
Thank you again for your warm reply...
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, if we do not use any propritory packages, like database packages from database vendor, we should have no problem for deploying the same WAR file to differnet container.
I have tried the JSP 2.0 sampe code provided by Hans on WSAD, it works fine, although it is developed and tested under Tomcat.
Many thanks to Hans.
Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic