Book review: Pro Tomcat 6 by <i>Matthew Moodie</i>

Book review: Pro Tomcat 6 by Matthew Moodie


The Apache Tomcat server is the most well known and deployed Servlet container for dynamic Java based web applications. Pro Apache Tomcat 6 by Matthhew Moodie (edited by Kunal Mittal and published by Apress) explains in exacting, systematic and well covered detail how to manage the latest version of this high quality, popular free software product.

The book’s coverThe book’s cover

My first impression of the book was that the book enacts the required effort of explaining configuration and administration consistently and without thrills, getting immediately right down to the point.

This medium sized tome is, by design, much more an integrated book for the server administrator than a programming support for the web application builder. If you wish to understand the difference between JSP 2.1 or Servlet 2.5 and previous versions supported by older versions of Tomcat, then another more Java-orientated book is required.

This book has an effective and well targeted range of content covering all the areas one is likely to encounter in a typical enterprise environment

The contents

Pro Apache Tomcat 6 contains 335 pages of no-nonsense, honest, accurate content. The book is split into fourteen chapters. Details range from installation, configuration, and authentication, securing and connecting with other web servers. Basically, step by step, inch by inch, the book covers the full range of activities a system administrator will, through the rampant course of application deployment, get their hands dirty with. This book has an effective and well targeted range of content covering all the areas one is likely to encounter in a typical enterprise environment.

As a part-time programmer of web applications, I particularly enjoyed chapter 8 ("Understanding class loaders"). A number of issues I have had in the past were associated with class loader order and/or Java security policies. Once past the basic structure of a WAR file, this is the laser guided line that a realistic and deployment-scared programmer or application troubleshooter needs to learn quickly.

Chapter 12 on the highly specific subject of security was also a delight to read; on a number of occasions I have personally been bitten by SSL/TLS server certificate issues and the clear recipe included is one route to avoidance of one’s own latenight stupidities.

An obvious must for admins working at internet service providers or data centers is Chapter 13, implementing shared Tomcat hosting the chapter describes one plausible recipe that if correctly followed creates a basic and effective virtual hosting environment.

Who’s this book for?

The Apress book is for server administrators that wish to systematically understand the global details of realistically instancing and administration of Tomcat 6.

To a much lesser extent the content is also an enabler for programmers that wish to understand the finer nuances of their deployment landscape.

Relevance to free software

Tomcat with Apache connected through mod_jk or as part of the Jboss application infrastructure is an overwhelmingly positive advert for why anyone would want to buy into free software. This excellent server is stable, scalable, evolving with a dedicated community and better than or competitive with indirectly expensive proprietary products.

Unavoidably, and fairly, Windows is mentioned as well as GNU/Linux for the installation instructions.

Matthew Moodie’s book systematically emphasizes the technologies involved with administration, discussing mainly Tomcat and briefly mentioning other free software products such as Jmeter a stress testing tool, MySQL and certificate manipulation via openSSL libraries and the Java included keytool.

Tomcat is an overwhelmingly positive advert for why anyone would want to buy into free software

Pros

This book is Tomcat administration made clear: if you wish to set up a properly configured instance or set of instances of Tomcat, and understand the best practices for linking code to via XML configuration to databases, this book is for you.

This book is Tomcat level administration made clear

Cons

If you are a Java developer wishing for more on the latest value added from JSP 2.1 or Servlet 2.5, then a book purely focused on administration misses your goals.

Title Pro Apache Tomcat 6
Author Matthew Moodie
Publisher APRESS
ISBN 1590597859
Year 2007
Pages 325
CD included No
FS Oriented 9
Over all score 8

In short

Category: 
License: 

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!