• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

HF Servlets book : tomcat 5 and tomcat 6 doubt

 
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 9704
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic