• submit to reddit
Nicolas Frankel04/27/10
4788 views
3 replies

DRY and Skinny War

In this article, I will show you how the DRY principle can be applied when using the skinny war configuration of the maven-war-plugin. While packaging an EAR, it is sometimes suitable that all libraries of the different WARs be contained not in their...

Kirk Knoernschild04/27/10
2289 views
1 replies

The Exciting Enterprise

Developing enterprise software is hard work. Bureaucracy. Large teams. Legacy systems. The list of challenges is immense. But enterprise development can also offer tremendous opportunity and reward. It can even be fun! I hope that at some point, you have...

Mitch Pronschinske04/26/10
10077 views
0 replies

Elegant Async in Errai

If you haven't heard of the Errai framework, you really need to check out our interview with Mike Brock, the project lead at JBoss.  A brief introduction - Errai is a fusion of Message-Oriented Programming, RPC, and Push Messaging based on GWT.  The...

Jared Richardson04/26/10
8379 views
3 replies

Code and Coffee: Save Yourself!

Code and Coffee is a simple idea. Once a week, get together in the morning, grab a shot of caffeine, and write some code. Pair with an old friend or a new one, but come willing to learn.

Mitch Pronschinske04/26/10
6650 views
0 replies

MyFaces Aligns With the JSF 2.0 Standard

The Apache MyFaces 2.0 Final was just released with support for Java Server Faces 2.0 (JSR 314).  This release comes hot on the heels of RichFaces 3.3.3, which also implements a partial version of JSF 2.0 while offering backward compatibility with JSF 1.2. ...

Arbi Sookazian04/26/10
5434 views
0 replies

Apache Maven 2: Effective Implementation - Book Review

Maven is a top-level Apache Software Foundation project and a very popular open-source build and project management tool in the Java space.  The latest version as of this writing...

Eric Hagan04/26/10
6839 views
0 replies

Moving to Test-Driven Development and Exploring Language Paradigms

Michael Feathers defines legacy code as "code without tests."  There's a major qualitative difference when working on code without tests. ...

Debasish Ghosh04/26/10
6527 views
1 replies

DSL Interoperability and Language Cacophony

Many times I hear people say that DSL based development often leads to a situation where you have to manage a mix of code written in various languages, which are barely interoperable and often need to be integrated using glues like ScriptEngine that makes...

James Sugrue04/26/10
24376 views
5 replies

Design Patterns Uncovered: The Mediator Pattern

Today's pattern is the Mediator pattern, used to handle complex communications between related objects, helping with decoupling of those objects. Mediator in the Real World An airport control tower is an excellent example of the mediator pattern. The tower...

John Ferguson Smart04/25/10
7374 views
0 replies

Grouping Tests Using JUnit Categories

In a well-organized build process, you want lightning-fast unit tests to run first, and provide whatever feedback they can very quickly. A nice way to do this is to be able to class your tests into different categories. For example, this can make it easier...

Cedric Beust04/25/10
6780 views
14 replies

Improving Exceptions

In a recent article called “Bruce Eckel is wrong”, Elliote Harold decided to write a counter-argument to Bruce Eckel’s critique of checked exceptions. I think that developers trying to argue that checked exceptions are a “failed experiment” and...

Jakub Holý04/25/10
4257 views
0 replies

File-based User Authentication Under WebSphere 6

When developing a web application for the WebSphere Application Server you sometimes need to enable security because the application expects HttpServletRequest.getUserPrincipal() to be non-null.

German Viscuso04/25/10
9188 views
0 replies

(Distributed) Object Database Tutorial

Unlike the developers of the pre-internet era, today's developers are writing inherently object oriented code.  The object oriented approach is required, as software complexity is growing under the pressure to deliver higher business value while dealing...

Mitch Pronschinske04/25/10
7225 views
1 replies

Terracotta and MuleSoft Scale Tcat Servers; Ehcache 2.1 Beta Adds JPA

Last week, Terracotta and MuleSoft held a joint web seminar titled "Manage and scale your web applications on Apache Tomcat."  The seminar walked through how Terracotta's server and Mulesoft's Tcat server can be combined to drop-in and scale Tomcat...

Jakub Holý04/24/10
6232 views
0 replies

Enforcing a Common Log Format With AspectJ

Andy Wilson has recently blogged about the need for uniformly formatted log messages containing all the necessary information to make log parsing easier and mentioned an extensive refactoring he did on a project to achieve this. One of the readers mentioned...