• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet /JSP versions

 
levani dvalishvili
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for my notes that I am preparing for the certification I want to create table matrix that displays all the versions of servlet/jsp that right confuse the #!@$ out of me, its quite confusing that there is a different numbering for servlets and different for jsp and different for j2ee , so does any one know a page or any refference that I can look up all the versions of servlet/jsp and corresponding j2ee spec versions to them ?
thanks in advance
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to know anything about past versions of the specifications - only about the current ones, which are Servlet 2.4 and JSP 2.0 for the exam (which is based on J2EE 1.4), and Servlet 2.5 and JSP 2.1 for the new Java EE 5.

Why would you want to look at old technology when you can use the new and improved versions?
 
levani dvalishvili
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because I want to see what is the difference for example in web.xml syntax btetween 2.3 and 2.5 versions , I know there are a lot of changes that have bitten me before ... so are you saying that anythings older than 2.5/2.0 should be considered absolete?
[ May 18, 2006: Message edited by: levani dvalishvili ]
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it depends... you mentioned specifically the exam in your original post. For that you need only know Servlet 2.4 and JSP 2.0 - you can ignore everything else.

As for a production environment, that depends on what your container is using... if you've got full administrator priviledges on your system, I would always recommend installing the latest stable version of your container in order to remove any previously found bugs (Tomcat has an especially easy upgrade process which basically means replacing a few JAR files and restarting). However, it may be that you can't do such an upgrade - in which case you will be working with a "legacy" system by definition. I don't call Servlet 2.4 legacy even though Servlet 2.5 has now been published (note that 2.5 adds very little to 2.4) - but 2.4 added such major revisions (and has been released for over three years) that I think anything pre-2.4 should be considered legacy and shouldn't be used in modern production systems.

If you wish to look at previous deployment descriptors and TLDs, obviously feel free, but it won't be of any consequence on the exam... if you find the changes confusing, in many ways you're better off forgetting everything you know from pre-2.4 and -2.0 and learning it all again from scratch!
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In levani's defense, there have been a number of times someone comes in here with a question from a 1.3 version mock exam. On most of those occassions, the confusion was caused by a topic that was changed in 1.4 - for instance, a question that expects a certain ordering to the tags in web.xml.

A document covering just the differences between the 1.3 and 1.4 versions actually would be quite useful.
 
levani dvalishvili
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that is exactly what I was asking, those are the two versions that I am interested in finding tabular like difference matrix ..
I remember once my JSTL would not show up, and finaly I found it (i think it was in here somewhere ) that I had a wrong uri for the Core refferencing a JSTl 1.0 while I had jars for 1.1 something like that ...
its totaly disasterouse how web.xml declaration tags have been changed between these versions, and so far I have not found any doc, post or etc .., anywhere that outlines the differences, I have suspiciouse that exam will have question or two to trip you into the older way of declaring (a taglib for example .)
[ May 18, 2006: Message edited by: levani dvalishvili ]
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In levani's defense, there have been a number of times someone comes in here with a question from a 1.3 version mock exam.
But the mock exam isn't the real thing... I would hope (but admittedly can't guarantee) that the actual exam is more carefully constructed. Indeed, I faced no such problems sitting the beta.
A document covering just the differences between the 1.3 and 1.4 versions actually would be quite useful.[/QB]
Well I'm afraid I don't know of one - except you'll probably find the Changes sections in the back of the servlet and JSP specs quite useful. These list the revisions of the specification in each new version, but it does mean you'll have to work backwards to determine previous semantics.
[ May 19, 2006: Message edited by: Charles Lyons ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic