advertisement

O'Reilly Tags

We're experimenting with a folksonomy based on tag data provided by del.icio.us. Follow development in this blog post.


Give Your Business Logic a Framework with Drools (22 tags)
It's almost too easy to express your business logic as a spaghetti-code fiasco. The result is hard to test, hard to maintain, and hard to update. Rule engines offer an alternative: express your business logic as rules, outside of your Java code, in a format even the business side of the office can understand. Paul Browne uses the open source Drools framework to introduce the idea.

Using Drools in Your Enterprise Java Application (8 tags)
Enterprise Java developers have many fine framework choices at the presentation and persistence levels, but what about the business logic that sits in the middle? Do you want to recompile a mass of if ... then spaghetti code every time a manager drops a new gotcha in your lap? In this article, Paul Browne suggests that a rule engine like Drools may be an ideal fit for this task.

Custom PMD Rules (2 tags)
The real fun of automated code analysis is writing your own rules. In his third article on the PMD project, Tom Copeland shows two approaches to detecting error patterns: writing custom Java code and simple XPath expressions.