• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

HF Servlets book : tomcat 5 and tomcat 6 doubt  RSS feed

 
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 ?
 
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.
 
Sheriff
Posts: 9613
37
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...
 
Creator of Enthuware JWS+ V6
Bartender
Posts: 3122
259
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!