Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$3.50 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Professional Apache Tomcat 5 (Programmer to Programmer)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

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

Vivek Chopra (Author), Amit Bakore (Author), Jon Eaves (Author), Ben Galbraith (Author), Sing Li (Author), Chanoch Wiggers (Author)
3.4 out of 5 stars  See all reviews (9 customer reviews)

Price: $39.99 & this item ships for FREE with Super Saver Shipping. Details
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback, Bargain Price $14.28  
Paperback, May 28, 2004 $39.99  

Book Description

0764559028 978-0764559020 May 28, 2004 1
What is this book about?

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.

What does this book cover?

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.

Here are some other things you'll 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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with Tomcat: The Definitive Guide $26.39

Professional Apache Tomcat 5 (Programmer to Programmer) + Tomcat: The Definitive Guide
  • This item: Professional Apache Tomcat 5 (Programmer to Programmer)

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

  • Tomcat: The Definitive Guide

    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


Editorial Reviews

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.

About the Author

Vivek Chopra has over nine years of experience as a software developer, architect, and team lead, and is currently working on Web Services, J2EE, and middleware technologies. He has worked and consulted at a number of Silicon Valley companies (including Hewlett-Packard, Sun, and currently Sony) and startups. He actively writes about technology and has co-authored half a dozen books on topics such as Apache/open-source software, XML, and Web services. He is also a committer for UDDI4J, an opensource Java API for UDDI. His other areas of experience and interest include compilers, middleware, clustering, GNU/Linux, RFID systems, and mobile computing.

Sing Li, bitten by the microcomputer bug since 1978, has grown up with the Microprocessor Age. His first personal computer was a $99 do-it-yourself Netronics COSMIC ELF computer with 256 bytes of memory, mail-ordered from the back pages of Popular Electronics magazine. Currently, Sing is a consultant, system designer, open-source software contributor, and freelance writer specializing in Java technology, as well as embedded and distributed systems architecture. He writes for several popular technical journals and e-zines, and is the creator of the “Internet Global Phone,” one of the very first Internet telephones available. He has authored and co-authored a number of books across diverse technical topics, including Tomcat, JSP, Servlets, XML, Jini, and JXTA.

Ben Galbraith was introduced to Java in 1999, and has since become something of a Java enthusiast. He has written dozens of Java/J2EE applications for numerous clients, and has built his share of Web sites. He actively tinkers on several open-source projects and participates in the Java Community Process. He has also co-authored a gaggle of books on various Java/XML-related topics, including the one you’re holding now. He is president of the Utah Java User’s Group (www.ujug.org) and Director of Software Development for Amirsys (www.amirsys.com).

Jon Eaves is the Chief Technology Officer of ThoughtWorks Australia and has more than 15 years of software development experience in a wide variety of application domains and languages. He can be   reached at jon@eaves.org.

Amit Bakore is a Sun-certified Web component developer and Java programmer. He works at Veritas Software R&D center, Pune (India). Earlier, he was a part of the Server Technologies group at Oracle, Bangalore (India), as a Senior Member Technical Staff. He has been working primarily on Java, J2EE, XML, and Linux. His areas of interest include open-source technologies and satellite-launching vehicles. He can be reached at bakoreamit@yahoo.com. Amit dedicates this work to his parents, Dr. Ramkrishna and Sau. Vaijayanti.

Chanoch Wiggers is a senior developer with Kiwi DMD, U.K., programming with J2EE and VB. He previously worked as a technical architect with Wrox Press, editing, architecting, and contributing to Java books.


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.4 x 1.4 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 Best Sellers Rank: #1,349,534 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and 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 
This review is from: Professional Apache Tomcat 5 (Programmer to Programmer) (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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 (Saint Paul, Minnesota) - See all my reviews
(REAL NAME)   
This review is from: Professional Apache Tomcat 5 (Programmer to Programmer) (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
3.0 out of 5 stars A collection of articles, June 21, 2005
This review is from: Professional Apache Tomcat 5 (Programmer to Programmer) (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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







Only search this product's reviews



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:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)
(1)

Your tags: Add your first tag
 

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 Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject