"He who rides a tiger can never get off or the tiger will devour him."

Software developers know the truth of this Chinese proverb. We ourselves have created an environment that forces us to cope with ever-increasing complexity. Twenty-five years as a software developer, manager and architect has taught me that every day has something to teach me. Here's what I'm learning now in the hope that it helps someone somewhere stay in the saddle and off the menu.

Friday, January 15, 2010

An Example JEE Application

Application development for the Java Enterprise Edition (JEE) platform using open-source products generally requires a good deal of up-front integration effort. This is relatively straightforward for a new project. However, as the application grows, it becomes more difficult to add new components to the stack or upgrade the versions of existing components simply because of the number of objects that need to be changed.

It is useful to have a simple example application that has just enough features to exercise all the necessary integration points, but not so many as to encumber experimentation and troubleshooting. The code should be non-proprietary so that it may be freely published to support forums and used in presentations.

I've developed such an example application for a typical JEE platform stack. The techniques for this are widely available and all of the libraries and platforms I've used are open-source. It's just that there was some assembly required, so I'm presenting it in the event that it may be useful to others.

Setting up the Development Environment

The first step is to download, install and configure all the necessary development software.

Riding the Tiger Wiki article: Development Setup for an Example JEE Application contains step-by-step instructions for this.

Creating the Application Project

Next, we need to create a base project for the application and set up debugging and automated build and deployment.

Riding the Tiger Wiki article: Creating the Example JEE Application Project has the instructions.

No comments:

Post a Comment