UML2 to JEE : Struts/Spring/Hibernate
UML2 to JEE generates Java/JEE code and files from a stereotyped UML2 model. The generated software has a layered architecture:
L'Acceleo JEE Sprint 2008 is coming ! more information on the dedicated page !
The next showcase describe the use of the JEE module and Topcased to generate a JEE data access layer
Complete documentation can be found on the Acceleo's wiki. Consult it first if you encounter problems. Don't hesitate to contribute !!
Technical target overview
Struts is an Apache framework allowing a real distinction between the user interface and the business logic of a JEE software. It's known as the Model-View-Controller pattern (MVC). Struts is broadly used but appears to be quite difficult to setup, and keeping consistency between screens and actions through the XML files quickly become a challenge.
Struts may be used with Ajax in order to provide Web 2.0 applications
Struts is available at the following url : http://struts.apache.org
Hibernate is a JEE framework handling the Object/Relational mapping. Using Hibernate one may persists Object data in a relational database.
Hibernate is available at: http://www.hibernate.org
The generator produce code from UML2.1 models enhanced with a few stereotypes.
FeaturesThe generator use Hibernate best practives in order to provide a better productivity and great performances.
Easy browsing on business objects
Data Access Layer
Pages template handling
The installation process is described on the installing a module web page. .
If you want to change or complete the generative templates you may use the a Team Project Set file. Using this file you'll be able to import the module sources right from the Subversion repository inside your Eclipse.Team Project Set file for JEE module
The getting and modifying generator module sources page explains how to use this file.