ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Custom PMD Rules and Dynamic Menus with JSP

by chromatic
ONJava Newsletter for 04/10/2003

Dear Readers,

Welcome to the latest Java newsletter. Your editor attended a talk just last night on Ward Cunningham's FIT--if you've struggled with automated customer tests, you owe it to yourself to look at this framework. I hope we can find some articles on the subject soon.

Here's what's new on ONJava this week:

PMD author Tom Copeland returns, revealing an amazing new feature in the Java static checker. Custom PMD Rules demonstrates how to write your own rules to match your own coding standards. As you'd expect, a few bits of Java here and there make for good rules. Surprisingly (or unsurprisingly, if you've thought about this really hard before), a little bit of XPath also works. That's right--a rule just needs to walk a tree. Checking your code automatically just became easier.

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

One of the first and thorniest problems to solve with any web site is how navigation should work. It gets more difficult when you add in accessability and internationalization requirements. If you could create menus on the fly, would your life be easier? Prabu Arumugam explains one approach in A Custom JSP Tag Library for Dynamic Menus.

Two recent weblog entries might spark some conversations around your watercooler. In We need better error messages, Erik M. Burke, coauthor of "Java Extreme Programming Cookbook," argues that a few moments spent elaborating while programming can save hours of debugging time. And in Why Java is Better Than You Think, William Grosso points out that it's the community around the language that makes it worth using. Does Java have that kind of community?

That's it for now. Join us next week when we look at writing spreadsheets with POI.

Until then,

O'Reilly Network Technical Editor

ONJava.com News and Weblogs

We need better error messages

Why Java is Better than You Think

Other Java News (channel -- LANG: JAVA)

Java Cookbook Recipe of the Day

Java Events

Other O'Reilly Network sites

O'Reilly Network



O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates



Return to list of ONJava Newsletters.

Return to the ONJava.com.