Blue Elephant Referee Scheduler

 

Jakarta Struts

 

Intro:

Jakarta Struts is a mature, popular implementation of the front-controller pattern in an MVC architecture. We use it in this project to page request handling code clean and manageable. It also provides an important layer of indirection between the view layer of the application and the model layer.  Struts is packed full of additional functionality, some of wich we take advantage of. A key example is the Validator framework, which provides a clean way to validate user form input.  

 

Motivation:

The motivation for using the front conroller pattern is best described in J2EE Design Patterns, in chapters 3 and 4 on presentation layer technologies.

 

Usage:

Understanding our usage of Struts can begn in some key places. First check the links section below which describe some of the key Struts books, which will help with detail questions.  The key areas of code that deal with Struts in our application are the following:

·         struts.action packages - Contains classes that implement subclasses of the Struts Action class

·         struts.forms packages  - Contains classes that implement subclasses of the Struts Action class

Links:

Programming Jakarta Struts, by Chuck Cavaness   (available on Safari)

Struts In Action, by Ted Husted, et. al.

Struts Website