Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

27.2.3.2. Exporters

The exporters tab is used to specify which type of code that should be generated. Each selection represents an "Exporter" that are responsible for generating the code, hence the name.
The following table describes in short the various exporters. The most relevant for Seam is of course the "JBoss Seam Skeleton app".
Field
Description
Generate domain code
Generates POJO's for all the persistent classes and components found in the given Hibernate configuration.
JDK 1.5 constructs
When enabled the POJO's will use JDK 1.5 constructs.
EJB3/JSR-220 annotations
When enabled the POJO's will be annotated according to the EJB3/JSR-220 persistency specification.
Generate DAO code
Generates a set of DAO's for each entity found.
Generate Mappings
Generate mapping (hbm.xml) files for each entity
Generate hibernate configuration file
Generate a hibernate.cfg.xml file. Used to keep the hibernate.cfg.xml uptodate with any new found mapping files.
Generate schema html-documentation
Generates set of html pages that documents the database schema and some of the mappings.
Generate JBoss Seam skeleton app (beta)
Generates a complete JBoss Seam skeleton app. The generation will include annotated POJO's, Seam controller beans and a JSP for the presentation layer. See the generated readme.txt for how to use it.
Note: this exporter generates a full application, including a build.xml thus you will get the best results if you use an output directory which is the root of your project.
Table 27.3. Code generation "Exporter" tab fields


 
 
  Published under the terms of the Open Publication License Design by Interspire