Last Published: 2008-09-16
FuGE Home
|
FuGE Home
|
FuGE Hibernate STK Documentation
Version: 1.0-SNAPSHOT
FuGE Hibernate Information
Hibernate STK Home
Manual
Next:
Introduction
FuGE Hibernate STK User Manual - Table Of Content
Introduction
Downloading These Instructions for Offline Use
What is the FuGE Hibernate STK?
Background
Purpose of the Hibernate STK and its relation to the greater FuGE Toolkit Project
The FuGE-OM and the FuGE XSD
What is the relationship between the FuGE Hibernate STK and the FuGE-OM?
Getting Started
First Steps
What You'll Need
Recommendations
Recommendations
Installing SSH
Installing SSH
Installing Java 5
Installing Sun Java 5 or Java 6
Installing Maven
Download and Install Maven 2.0.7 or Later
Maven Setup
Environment Variables and Settings for Maven
Test Maven (Part One)
Test Maven (Part Two)
Installing AndroMDA
Introduction
AndroMDA Installation
Choosing a UML Tool
Choosing a UML Tool
Installing a Supported Database
Installing a Supported Database
How To Check-Out SyMBA from Subversion
Setting Up, Compiling, and Running the Hibernate STK
Setting Up the FuGE Hibernate STK database
Maven Profiles
Create a database to hold the metadata
Point Maven at the correct jdbc jar
Compiling the Hibernate STK
Optional Modification of the UML
Compilation
Integrating This Project with your IDE
Creating the Database Tables
Default (Local) Profile
Testing (Validation) Profile
Known Problems
The "Access Right" Assocation between SecurityAccess and OntologyTerm
The Chicken and the Egg
The Many2Many Software to Equipment Association
Linking Table Between Software and Equipment is Not Getting Filled
Testing the STK
TestNG
Unit Tests with Maven
Example Java Code Provided in the STK
Mapping Between the XML and Database Code
DatabaseObjectHelper: Making Your Life Easier
Loading and Unloading FuGE-ML Into the Database
PeopleUnmarshaler (Example Main in UnmarshalPeople)
XMLUnmarshaler (Example Main in UnmarshalXML and XMLRoundtrip)
XMLMarshaler (Example Main in MarshalXML and XMLRoundtrip)
Speedy Creation of OntologyCollections
Extending the Hibernate STK
Extending the UML: SyMBA
Would You Like to Contribute?
Becoming a FuGE Developer
Do you wish to contribute to the FuGE Hibernate STK?
Guidelines for Developing the FuGE HIbernate STK
Introduction
What to include in new Java Classes
Subversion Best-Practices
Beyond Javadoc: Documenting Your Work
Re-Building the FuGE Hibernate STK Website
Modifications to the FuGE-OM
Changes to the FuGE-OM
Modifications to the FuGE-OM for the Hibernate and the EJB3 STK
Hibernate-only FuGE-OM Modifications
Further Reading
Credits
Contributors to Documentation
Resources used in the creation of this document
Next:
Introduction