wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HF Servlets book : tomcat 5 and tomcat 6 doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HF Servlets book : tomcat 5 and tomcat 6 doubt" Watch "HF Servlets book : tomcat 5 and tomcat 6 doubt" New topic
Author

HF Servlets book : tomcat 5 and tomcat 6 doubt

Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

The book uses tomcat 5. I want to use tomcat 6 instead. Will the the samples in the book work properly with tomcat 6 ?

SCJP 6. Learning more now.
J J Singh
Greenhorn

Joined: Mar 20, 2010
Posts: 12
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

Joined: Jan 21, 2011
Posts: 637

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

Joined: Aug 03, 2008
Posts: 9291
    
  17

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...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1633
    
  23

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

Joined: Mar 20, 2010
Posts: 12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HF Servlets book : tomcat 5 and tomcat 6 doubt
 
Similar Threads
Where are 282 questions in K&B book
Configuration differentes between tomcat 4 and tomcat5
Java 1.6
How to make request parameters available to a login.jsp?
Is WEB-INF Directory mandatory ?