ONJava.com    
 Published on ONJava.com (http://www.onjava.com/)
 See this if you're having trouble printing code examples


A First Look at Tomcat 5

by Daniel H. Steinberg
ONJava Newsletter for 01/29/2004

Friends,

About a week ago the Tomcat team announced the availability of Tomcat 5.0.18 stable, which followed on the first stable 5.x release last month. Jason Brittain, author of O'Reilly's "Tomcat: The Definitive Guide," has gathered his thoughts on What's New in Tomcat 5. Brittain writes that one goal was to repair the split that "had occurred in the Tomcat community between the Tomcat 3 branch proponents and the Tomcat Catalina developers." He outlines the new Tomcat support for the recently finalized Java Servlet 2.4 and JSP 2.0 Specifications. Tomcat 5 has improved memory management and garbage collection. Other covered enhancements include better support for JMX, an improved build system, and increased JSP tag library efficiency via tag pooling and tag plug-ins.

Denis Piliptchouk returns with part three of his series on Java vs. .NET Security. This time he concludes, "Java provides a solid API for dealing with certificates. .NET programmers have to turn to unmanaged CAPI functions to access certificates, unless they use WSE, which adds a lot of useful functionality." He found no clear winner in cryptographic Code Protection, and only a slight advantage for Java in non-cryptographic Code Protection. Piliptchouk reports, ".NET defines a richer sets-based permission structure than Java. At the same time, .NET permissions reveal their binding to the Windows OS. [..] Policy in .NET has a much more sophisticated structure than in Java, and it also works with many more types of evidences. Java defines a very flexible approach to adding and overriding default policies--something that .NET lacks completely. [.. and] .NET arms developers, with an impressive arsenal of various features for access checks, easily surpasses Java in this respect."

This week's java.net feature is Mike Clark's guide to getting started writing code test as the first step this year. Sure you've read many articles about test-driven development, but Clark shows you how easy it is to get from your current approach to automating your tests. He then pushes you to consider test-first as a design activity. In The Testing Bug, Clark gives you a dozen activities to get started testing first.

To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).

To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to

Til next week from EclipseCon,

Daniel H Steinberg, editor
ONJava.com and java.net
daniel@oreilly.com

ONJava.com News and Weblogs

java.net Weblogs

O'Reilly Network Java Weblogs

Other Java News (channel -- LANG: JAVA)

Java Cookbook Recipe of the Day

Java Events

Other Related O'Reilly Network sites

O'Reilly Network

XML.com

ONLamp.com

O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates

davidflanagan.com

java.net

Servlets.com

JDOM.org

Copyright © 2009 O'Reilly Media, Inc.