One of the strengths of JAG is that it delivers a complete working project - it's more than just another code generator! The projects generated by JAG have the following features:
- A full, professional quality project infrastructure: The generated applications build with Apache Ant and have a flexible, well-organised directory structure.
- By choosing from JAG's extendable framework of 'application templates', you have control to select the most appropriate application architecture.
- Best-of-breed J2EE architecture: The various application architectures are derived from a real-world appreciation of industry best practices.
The latest application template offers:
- A strict enforcement of presentation-layer
separation using interfaces to enable the greatest flexibility in
- EJB 2.0 features such as container-managed relations.
- J2EE 'BluePrint' patterns such as Session Façade, Service Locator, Business Delegate, Fast Lane Reader and Value Objects.
- A pluggable business/persistence tier: EJB2, EJB3 or Hibernate 2
- A presentation layer (web application) that takes advantage of the latest features of Struts, such as declarative client- and server-side user input validations, and clean, modular JSPs using Struts and the display tag library.
- Extensive use of XDoclet in the generated application means that the complexity of the code base is vastly reduced, increasing maintainability. Through the
use of XDoclet tags in the generated Java code, many of the JAG-generated classes
serve as a basis for further automatic code generation at build-time!
EJB3 is supported for the JBoss4.0 application server with EJB3.0 Preview Release 2.
Since JAG also supports EJB2 using xdoclet, it's interesting to see how all xdoclet markup is obsolete for the EJB3 release now!
Visit the JAG home page: http://jag.sourceforge.net