|
Jwag ( Java Web Application Generator) is a simple Java based Application, that allows you to generate a complete
web application to do CRUD (Create, Retrieve, Update and Delete) operations on MySQL Database tables.

Jwag generates a complete ready-to-compile-and-run web application into a web standard directory structure. The web
application is based on Spring's MVC framework. It can be started using Jwag GUI. The files are generated using Velocity
templates, so it would be customizable by the developer according to thier needs. or if your coding style is different
from mine.
Jwag generates different classes and components like ( VO (Value Object), controllers, Dao Interface, Dso Implementation,
Spring Context, Desployement Descriptor, and jsp pages) for each database table. VO class provides getters and setters for
each of the database columns and Dao Interface (signature of CRUD methods) and Implmentation class which holding method
implementation to perform CRUD operations. The methods use dynamic JDBC (using Spring JdbcTemplate).
On the controllers end, Jwag provides an implementation of Spring SimpleFormController and MultiActionController, and
generates the add, edit, list and view JSP files (embeded with provide table name). All JSP files using JSTL for
displaying and binding the records to getting into the controller with Spring:bind tag, so its clean and maintainable.
Each table has three associated controllers. AddFormController and EditFormController implements SimpleFormController
and ActionController implements MultiActionController, Different instances are realized through Spring IoC, in Sum of
three Controllers are explicitly generated for each bean.
Jwag will also generate other Spring and web application units, such as the web.xml (known as Deployement Descriptor), a
default landing index.jsp page and the DispatcherServlet's configuration file *-servlet.xml (known as Spring Context). The
Jwag provide packaging based on the directory structure specified by Thomas Risberg in his tutorial [Developing a Spring
Framework MVC application step-by-step July, 2003]. in future Jwag will be used for generate different web applications.
|