Fornax-Platform View a printable version of the current page. Export Page as PDF
  HBM2Model (CHM)
 
 Browse Space
General


Projects


Latest News
Latest News
(The 15 most recent blogposts in space Fornax-Platform.)


Global Reports
Find all pages that arent linked from anywhere.
Find all undefined pages.
Feed for new pages.
Added by Karsten Thoms, last edited by Benjamin Schmeling on Mar 30, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Overview

This Cartridge is based on openArchitectureWare 4.3.1 and provides xtensions and configuration facilities for generating UML models out of hibernate mapping files. From an abstract point of view the cartridge provides a model to model (M2M) transformation. The input is a Model represented by XML and its corresponding XML Schema as a metamodel. The generated output is a UML2 Model enriched with the corresponding Stereotypes from the Hibernate domain, especially that from the Persistence profile of the Hibernate cartridge.

This transformation process is part of a general reverse engineering strategy that generates the model out of a database schema. The Hibernate Tools project has a generator to transform a database schema into hibernate mapping files (of course with numerous configuration options). The HBM2Model cartridge defines a set of xtensions to transform the mapping files into a Fornax powered UML model. You can see the transformation process in the figure below.


 
 
 

Features

  • Supports a set of hibernate mapping files as input
  • Lets you generate a stereotyped (persistence profile) model
  • Supports Entities, Associations (Mapped as set) etc.
  • Will support Spring and JSF profiles in the near future

Goals

The goal of this cartridge is to have a facility to generate an UML model in order to:

  • visualize the database schema as UML diagram
  • have a quickstart from an already existing database schema to start your own Java based database access
  • check what your existing projects would look like using the Fornax platform
  • produce even a transactional service layer with typical CRUD operations automatically
  • generate a protoype application from your database
  • generate a whole CRUD application including the frontend, the services, the daos and the entities.