Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Professional Apache Tomcat 5 (Programmer to Programmer) and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
60 used & new from $0.42

Have one to sell? Sell yours here
 
   
Professional Apache Tomcat 5 (Programmer to Programmer)
 
 
Start reading Professional Apache Tomcat 5 (Programmer to Programmer) on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Professional Apache Tomcat 5 (Programmer to Programmer) (Paperback)

by Vivek Chopra (Author), Amit Bakore (Author), Jon Eaves (Author), Ben Galbraith (Author), Sing Li (Author), Chanoch Wiggers (Author) "If you've written any Java Servlets or JavaServer Pages (JSPs), chances are good that you've downloaded Tomcat..." (more)
Key Phrases: tomcat workers, persistent session manager, server load testing, Attribute Name Read, Write Type, Start Stop Reload Undeploy (more...)
3.4 out of 5 stars See all reviews (9 customer reviews)

List Price: $39.99
Price: $30.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.60 (24%)
Upgrade this book for $7.99 more, and you can read, search, and annotate every page online. See details
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 4 left in stock--order soon (more on the way).

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
35 new from $0.43 25 used from $0.42
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $27.35

Frequently Bought Together

Professional Apache Tomcat 5 (Programmer to Programmer) + Pro Apache Tomcat 5/5.5 (Expert's Voice in Java) + Tomcat: The Definitive Guide
Price For All Three: $90.97

Show availability and shipping details

  • This item: Professional Apache Tomcat 5 (Programmer to Programmer) by Vivek Chopra

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro Apache Tomcat 5/5.5 (Expert's Voice in Java) by Matthew Moodie

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Tomcat: The Definitive Guide by Jason Brittain

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Tomcat: The Definitive Guide

Tomcat: The Definitive Guide

by Jason Brittain
4.0 out of 5 stars (21)  $26.39
Professional Apache Tomcat 6 (WROX Professional Guides)

Professional Apache Tomcat 6 (WROX Professional Guides)

by Vivek Chopra
5.0 out of 5 stars (2)  $26.39
Beginning JavaServer Pages

Beginning JavaServer Pages

by Vivek Chopra
3.4 out of 5 stars (8)  $26.37
Apache Tomcat Bible

Apache Tomcat Bible

by Jon Eaves
3.2 out of 5 stars (8)  $34.21
JBoss at Work: A Practical Guide

JBoss at Work: A Practical Guide

by Tom Marrs
4.5 out of 5 stars (36)  $23.07
Explore similar items

Editorial Reviews

Product Description
What is this book about?

Professional Apache Tomcat 5 shows system administrators and Java developers how to install, configure, and run the Tomcat server. The authors focus on solving real-world problems encountered in all phases of server administration, including the following:

  • Installation
  • Configuration
  • Managing class loaders and connectors
  • Security
  • Shared hosting and clustering
  • System testing

The book provides comprehensive coverage of all of the latest features of Tomcat Releases 4.1 and 5.0. (Tomcat 5.0, which is expected to release at the end of this year, supports JSP 2.0 and Servlets 2.4. Given that many companies are slow to upgrade, the authors also cover Release 4.1.).

From the Back Cover
The Apache Tomcat server and related technologies give Java™ developers a rich set of tools to quickly build more sophisticated Web applications. Tomcat version 5 supports the latest JSP™ and Servlet specifications, JSP 2.0, and Servlets 2.4. This completely updated volume offers you a thorough education in Tomcat 5 as well as 4.1.

You will learn to solve the problems that arise with installation and configuration, security, system testing, and more. This edition also introduces you to Tomcat clustering for planning and deploying installations in mission-critical production environments, and explores the new support for Tomcat in popular IDEs such as IntelliJ IDEA, Eclipse, NetBeans™/Sun Java Studio, and JBuilder.

You’ll discover how to manage class loaders and Connectors, understand how to use IIS as a Web server front-end for Tomcat, examine JDBC-related issues in Tomcat, and be ready to put this technology to work.

What you will learn from this book

  • Techniques and troubleshooting tips for installing JVM™ and Tomcat on Windows® and UNIX®/Linux® systems
  • Detailed Tomcat configuration, such as Access log administration, Single Sign-on across Web applications, request filtering, the Persistent Session Manager, and JavaMail™ session setup
  • How to resolve JDBC connectivity issues, including connection pooling, JNDI emulation, configuring a data source, and alternative JDBC™ configurations
  • How to use Web servers like Apache and IIS with Tomcat to serve static content
  • A wide range of security issues, from securing Tomcat installations to configuring security policies for Web applications that run on them
  • How to configure Tomcat for virtual hosting environments
  • Procedures for load-testing Web applications deployed in Tomcat using the open source JMeter framework
  • How to set up Tomcat clustering to provide scalability and high availability to Web applications
  • How to embed Tomcat within custom applications

Who is this book for?

This book is for J2EE™ system administrators and Java developers with responsibilities for Tomcat configuration, performance tuning, system security, or deployment architecture.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

See all Editorial Reviews


Product Details

  • Paperback: 624 pages
  • Publisher: Wrox; 1 edition (May 28, 2004)
  • Language: English
  • ISBN-10: 0764559028
  • ISBN-13: 978-0764559020
  • Product Dimensions: 9.2 x 7.2 x 1.1 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.4 out of 5 stars See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #91,290 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #9 in  Books > Computers & Internet > Web Development > Web Servers > Apache

Inside This Book (learn more)
First Sentence:
If you've written any Java Servlets or JavaServer Pages (JSPs), chances are good that you've downloaded Tomcat. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
tomcat workers, persistent session manager, server load testing, balancer filter, application base directory, tomcat instance, digested password, lifecycle listeners, bootstrap class loader, context configuration file, balancer application, system class loader, extension class loader, admin application, application class loader, nonfree software, request processing threads, virtual host entry, virtual host definition, log configuration file, same virtual host, socket communication channel, following child elements, keystore file, sticky sessions
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Attribute Name Read, Write Type, Start Stop Reload Undeploy, Attribute Description Required, Aggregate Report, Graph Results, Java Virtual Machine, Single Sign-on Valve, Apache Software Foundation, Done Figure, View Results Tree, Hello World, Sun Microsystems, Tomcat Web, Access Log Valve, Interleave Controller, Response Assertion, Action View, Internet Explorer, Tomcat Connectors, Search Back Reload Print, Throughput Controller, Commit Changes, Cookie Manager, File Edit View Favorites Tools Help
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
This book cites 3 books:


Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?

Professional Apache Tomcat 5 (Programmer to Programmer)
64% buy the item featured on this page:
Professional Apache Tomcat 5 (Programmer to Programmer) 3.4 out of 5 stars (9)
$30.39
Tomcat: The Definitive Guide
19% buy
Tomcat: The Definitive Guide 4.0 out of 5 stars (21)
$26.39
Professional Apache Tomcat 6 (WROX Professional Guides)
8% buy
Professional Apache Tomcat 6 (WROX Professional Guides) 5.0 out of 5 stars (2)
$26.39
Pro Apache Tomcat 6
5% buy
Pro Apache Tomcat 6 2.0 out of 5 stars (3)
$30.39

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(1)
(1)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

9 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (3)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
36 of 38 people found the following review helpful:
5.0 out of 5 stars Good to see Wrox back, June 28, 2004
By Liam Gretton (Leicester, UK) - See all my reviews
(REAL NAME)   
Development of the Apache project's Tomcat JSP and Servlet engine continues apace, and again, Wrox has done a good job in swiftly getting a book to market which covers the latest version.

Wrox's earlier book by many of the same authors, 'Professional Apache Tomcat' covered versions 3 and 4. This book no longer contains any material specific to version 3, but has had a major overhaul and concentrates on Tomcat 5, though it's still useful and relevant to administrators working with version 4.1 and up.

Like its predecessor, the book covers the installation and management of Tomcat in great depth on both Unix and Windows. Its Unix coverage is geared towards Linux in favour of any other version of Unix, but in practice there's nothing particularly Linux specific and users of other Unix variants will have no problems following the examples.

As with the previous edition, the first two chapters provide background to the Apache project, J2EE and the evolution of web application technologies from CGI to JSP. Detailed chapters on installation and architecture follow. Only installation of the Tomcat binaries is here though; building Tomcat from source with Ant is not discussed at all (however, Ant is referred to throughout the book, mainly in relation to application building and deployment, and gets an appendix of its own). The architecture description is unchanged from the previous edition, but remains an excellent overview of Tomcat's internal components.

And on to the nuts and bolts. A lot of space is given to the new web-based administration tool (itself a web application handled by Tomcat), but at all points the underlying affects on Tomcat's raw XML configuration files is made clear, so the command line junkies - or those who choose not to enable the Administration Tool at all - are catered for in parallel with the point-and-click brigade. Web application configuration and management is much expanded, now covering Servlet 2.4 descriptors as well as those for 2.3.

Tomcat's HTTP connectors, employed when Tomcat is set up as a stand alone web and application server are described in a single chapter, but new to this book are details of using the SSI and CGI servlets which are new features of Tomcat 4.x and 5.

For non-trivial installations, one would wish to integrate Tomcat with a web server, creating an environment in which the web server delegates dynamic content to Tomcat which otherwise no longer handles HTTP directly. There are a number of protocols available for Tomcat which provide the connection to a web server. As these protocols have stabilised in Tomcat, so the book no longer covers the older, largely deprecated connectors beyond a brief description of each. It then concentrates almost solely on the JK2 implementation of AJP.

This whole area is a lot clearer than it was in the earlier book: a short chapter provides the background and describes the protocols used to connect the web server and Tomcat, followed by a chapter devoted to each of Apache (for both Unix and Windows) and Microsoft's IIS web server using the JK2 connector. I was a little disappointed to find that Sun's web server gets no mention at all, particularly as up-to-date official documentation in relation to it appears to be non-existent. Nonetheless, what's here for Apache and IIS is very good; Apache users get a better deal than their IIS counterparts though - the load balancing and SSL integration sections are far more complete in the IIS chapter.

That completes the first half of the book, and for many uses will provide more than enough information to get a good understanding of Tomcat and a working service. Six more chapters go into great detail about Tomcat's other features. Separate chapters exploring JDBC connectivity, the new JMX features of version 5 and Java class loaders really earns the book its Professional tag. Arguably more useful (in my case at least) are the chapters dedicated to security, clustering for fail-safe operation and embedding Tomcat within an application - absolutely everything is here. The chapter on server load testing proved to be a great help to me just for the inclusion of the use of JMeter, another Apache project which is useful for all manner of web server benchmarking.

Tomcat's documentation is more than adequate for quickly setting up a Tomcat server, but dig much deeper and it quickly becomes difficult to find what you're looking for. Having a book like this with everything to hand makes life a lot easier, and in any case it's worth much more than the official documentation.

Criticisms? I'd like to have seen an appendix or two giving a summary of the main Tomcat configuration files workers2.properties and server.xml; as it is not quite everything is covered and what is spread across different chapters. At the moment I'm working with Sun's web server and Tomcat and it would have been great to have a chapter dedicated to this particular setup, particularly as far as JK2 is concerned.

Wrox had some difficulties last year when its parent company collapsed, but now that Wiley have taken over, it's good to see them back on their feet and continuing to produce books like this, complete with their familiar red covers (...and dodgy author photographs). Highly recommended.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
28 of 30 people found the following review helpful:
3.0 out of 5 stars Important tasks missing, October 6, 2004
By John G. Norman (Cambridge, Mass.) - See all my reviews
(REAL NAME)   
There is a lot of good information in this book, and it's true that it gets into JMX, the web-based manager and admin apps, etc., etc.

But I have some real concerns with this book. Here are four everyday "real world" tasks that a professional really needs to know and that one is hard-pressed to find accurately and succinctly discussioned in this book: (1) JVM memory settings -- in what file to set them; (2) How to pre-compile JSPs so that they are not compiled "on the fly" after deployment (absolutely crucial for the real world); (3) how to define a context.xml file and put it in your app's META-INF directory; (4) How to get an app deployed to the root.

I hope the authors can address these issues in the next edition.

Here's some more detail on these issues:

(1) Memory settings: p. 417: Gives switches for memory optimization, but doesn't say what is the best file in the Tomcat deployment for updating such settings. (The info in "Shared Tomcat Hosting," pp. 392-393, doesn't help for the easy case.) There is no discussion that if you use the Windows Service, the memory settings are set through the "Configure Tomcat" GUI application (and catalina.bat isn't used). A *general* item for "memory settings" is not listed in the index under JVM.

(2) How to pre-compile JSPs: Nothing. A better book would provide a working ant target for this. jspc (and/or org.apache.jasper.JspC) isn't even in the index.

(3) How to use a context.xml file and put it in your web-app's META-INF: Nothing. This is incredibly important because it's how you would define a DataSource without having to meddle with the server.xml file.

(4) How to get an app deployed to the root path. While there is some discussion of the root (e.g., p. 92), I don't see anything that points out the crucial piece of information, which is that the .war must be named ROOT.war (you can deploy another .war to the root, but with some settings it won't get redeployed properly after a fresh startup).

-----

I also wish the discussion of the JK and JK2 connectors was more complete. The discussion of the internals are interesting, but you would never learn about the no-jk environment variable (crucial for getting Apache to skip JK for certain paths) for JK. And if there is such a feature for JK2 (I don't think there is), you'd never find it here.

In short, I keep this near my desk, but I probably wouldn't recommend it to someone.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 2 people found the following review helpful:
3.0 out of 5 stars A collection of articles, June 21, 2005
This book contains some good information. However, it's clear that the publisher merely solicited a bunch of articles and sort of threw them together without much in the way of an overarching design. The result is that you can find answers to many common Tomcat questions in this book, but others will go unanswered.

I agree with the previous comments that this book has some major gaps in its coverage of the topic. I would also comment that some of the presentation is pretty confusing, such as the whole area of data source configuration, which is actualy covered TWICE. Which section of the book where it's covered are you supposed to follow? And, as it turns out, even though this subtopic is covered twice, they still don't manage to give a complete explanation, leaving out the important issue of setting up a context.xml file.

It's better than not having any Tomcat book at all, but this is not an exceptionally complete or well-organized book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

2.0 out of 5 stars Very inconsistent from chapter to chapter
Very inconsistent from chapter to chapter

Some of the chapters in this I found very useful e.g. class loaders, and some I found to be very bad e.g. JDBC. Read more
Published 6 months ago by Brian P. Irwin

1.0 out of 5 stars Bad book to setup DBCP
This book gives a speedstart in getting high level architecture of Tomcat 5. Its discussion, even though not comprehensive, can make you can tell the difference between a valve, a... Read more
Published on July 26, 2005 by Jeson

4.0 out of 5 stars Not for beginners
Very good book, but I first read it as a preparation to manage a tomcat server and I could barely understand. A re-read it later on and it was a lot clearer.
Published on April 13, 2005 by Ugo

3.0 out of 5 stars it is worth $25.
I looked through it in 1 day, from the programmer point of view, what I learned is totally worth I paid for the book, I have a clear overall picture of Tomcat, the components (... Read more
Published on February 3, 2005 by X. Jing

5.0 out of 5 stars this is the place to start
as a beginner to the world of Java, Servlets, and JSP, this provided the best introductory place to begin learning these technologies. Read more
Published on October 13, 2004 by Matthew E. Harbowy

5.0 out of 5 stars Great Book,easy to follow
Good book, no fluff..just stuff. Explains diff. between 4.0 and 5.0, gives latest cofig and development tech for 5.0
Published on June 28, 2004 by hs

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Product Information from the Amapedia Community

Beta (What's this?)

Listmania!

Create a Listmania! list


Look for Similar Items by Category


Storm Warning

Black & Decker Storm Station
Buy the Black & Decker Storm Station--an all-in-one emergency power source, radio, and flashlight--for the unbelievably low price of $119.99.

Shop the Power Tools Store

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 
Shop for Hunter Fans
Hunter FansShop a wide collection of Hunter standing and ceiling fans, with styles ranging from classic to contemporary.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates