Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which Servlet and JSP version?

 
Sita Kotamraju
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Which version of JSP and Servlet should we prepare for this exam?
Thanks,
sk
 
Chintan Rajyaguru
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The latest versions
Servlet 2.3
JSP 1.2
 
Sita Kotamraju
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
I have seen Marty Hall's book mentioned in several places as a good book, but the versions are servlets 2.2 and jsp 1.1, is there a lot of difference between the lastest versions and 2.2/1.1?
Which is a better book? Marty Hall's or Professional J2EE 1.3?
Sorry to ask too many questions I am just starting to look into this exam.
Thanks,
sk
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there quite a bit of changes from servlet 2.2 to 2.3 and Jsp 1.1 to 1.2
I was too using a book on 2.2 and 1.1. Now, i am reading a more updated book. Try to read a updated book thats my suggestion.
good luck.
 
Chintan Rajyaguru
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot comment on professional J2EE 1.3 because I have not seen that book yet. However, I can tell that this book will cover a lot more than servlet and JSP as this book is talking about J2EE (and servlets and JSP are very small parts of J2EE) and hence the book may not be covering all the details about servlet and JSP. As FEI said, there are differences between previous and latest versions of JSP and Servlet. If you are new to this area, you could learn these technologies very well from a book covering even older versions. Once you are familiar with the concepts you could pick up latest specifications and learn the differences.
A better idea would be to get the book that covers the latest versions. I think Oreilly books do cover latest versions but they are two books one for servlet and the other for JSP.
Lastly, don't worry about asking many questions. This forum exists for that purpose only
Hope this helps
Chintan
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with the nice opines of Chintan....

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Sita Kotamraju
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks again.
Do we have to practice jsp/servlets on Tomcat only or is Weblogic ok?
 
Chintan Rajyaguru
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a good question. Tomcat is servlet and JSP engine. In other words, it is a container in which servlets and jsp can run. Also there are two things about Tomcat:
[1] It is the official implementation of servlet and JSP specification (so no doubt about quality and correctness)
[2] It implements latest specification versions (servlet 2.3 and JSP 1.2)
Weblogic on the other hand is J2EE server. This means it can run EJBs. A popular name for this kind of servers is "Application Server". Weblogic will also be able to run servlets and JSP. It also has examples of serlets and JSP. However, at this point weblogic follows servlet 2.2 and JSP 1.1 specifications (not the latest ones). Also, since it does a lot of things, it may be little hard to learn to use.
If you are going to run only JSP and Servlet, I would recommend Tomcat 4.0 or later. If you are going to learn EJBs and other J2EE technologies (not required for this certification), weblogic is a good choice.
Again both Tomcat and weblogic have examples.
 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sita: Tomcat is really very easy to administer and to install. You just have to set two environment variables: JAVA_HOME and CATALINA_HOME. I have no experiences with WebLogic, but WebSphere is way more dificult and needs way more CPU.
A book which covers latest JSP and to a lesser extend Servlet-specifications is Professional JSP 2. edition from wrox. I like it.
Axel
 
Sita Kotamraju
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chintan and Axel. Since I worked in Weblogic for over 18 months, I feel Weblogic is very easy
Chintan, the latest Weblogic supports the latest JSP and Servlet releases.
Sita
 
Rick Salsa
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone,
Marty Hall has updated the core servlets book to cover version 2.3 and jsp 1.2. You can find more info about it at at his site for the book.
I haven't got the book yet, it only gives a quick intro on jsp and servlets. He gives references to his old book for more in-depth info on a subject he doesn't cover well.
I can't wait to get my hands on it.
Cheers,
-r
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic