• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HF Servlets book : tomcat 5 and tomcat 6 doubt

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book uses tomcat 5. I want to use tomcat 6 instead. Will the the samples in the book work properly with tomcat 6 ?
 
J J Singh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which edition of book you are using ?

HF 1st edition was 1.4
HF 2nd edition is 1.5

I am using HF and using latest tomcat 7 which supports servlets 3.0 and jsp 2.1 specs . I suggest you should also use latest tomcat. There is nothing much difference and its always good to learn the latest stuff.
 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J J Singh wrote:Which edition of book you are using ?

HF 1st edition was 1.4
HF 2nd edition is 1.5

I am using HF and using latest tomcat 7 which supports servlets 3.0 and jsp 2.1 specs . I suggest you should also use latest tomcat. There is nothing much difference and its always good to learn the latest stuff.


I am using 2e. Have you encountered any problems with tomcat 7 ? I was wondering if there will be changes in the project directory structure and things like that in case of Tomcat7.
 
Ankit Garg
Sheriff
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much details about Tomcat 7 but I'm sure you can run the code examples of the book on Tomcat 7. Servlet containers are backward compatible generally and since the specification for JavaEE 6 only adds features to JavaEE 5 specification I don't see any reason why a JavaEE 5 application won't run on a container which supports the JavaEE 6 specification...
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2345
90
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Ankit here, but be aware of the differences between SCWCD5 and SCWCD6.

If you go for SCWCD5 and you are using tomcat 7 you can do things in EL(2.2) like calling methods on beans which are might confuse your understanding of the EL(2.1) that is taught in the book. Just read an example in this thread

Regards,
Frits
 
J J Singh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frits Walraven wrote:I agree with Ankit here, but be aware of the differences between SCWCD5 and SCWCD6.

If you go for SCWCD5 and you are using tomcat 7 you can do things in EL(2.2) like calling methods on beans which are might confuse your understanding of the EL(2.1) that is taught in the book. Just read an example in this thread

Regards,
Frits


Hello Frits

Yes thanks for information.

I just noticed that J2EE6 consists of

JSP 2.2 (JSR 245)
EL 2.2 (JSR 245)
JSTL 1.2 (JSR 52)
Servlet 3.0 (JSR 315)

Hence the use of the corresponding latest release of specifications would be helpful for the exam.

Tomcat 7 supports all of the above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic