Web applications generated by JCodeBox use the JSP Model 2 architecture and utilise the following patterns:
- Front controller (or controller servlet)
- View Helper
- Service to workers
All client requests are processed by a front servlet (called front.java) which determines the next JSP to be displayed.
Most JSPs have an associated View Helper class (implemented as a Java Bean) that is responsible for any processing required by the
JSP and also stores model data required by the JSP. The front servlet calls the processRequest() method on the View Helper for
the next JSP to be displayed passing through the details of the client request. When the View Helper has completed its processing, it
forwards the request to the JSP using the RequestDispatcher class. This arrangement can be referred to as a service to workers pattern.