Author: afedosik
Date: 2007-12-07 11:00:03 -0500 (Fri, 07 Dec 2007)
New Revision: 5226
Modified:
trunk/seam/docs/reference/en/modules/generate_entities.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-342 "Seam Generate Entities" chapter
updated according to Denis Golovin explanation
Modified: trunk/seam/docs/reference/en/modules/generate_entities.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-07 15:53:20 UTC
(rev 5225)
+++ trunk/seam/docs/reference/en/modules/generate_entities.xml 2007-12-07 16:00:03 UTC
(rev 5226)
@@ -24,7 +24,26 @@
</mediaobject>
</figure>
+ <para>In the Generate Seam Entities wizard there are two generation modes:
Reverse Engineer from database
+ and Use existing entities.</para>
+
+ <para>The <property>Reverse Engineer from database</property> mode
can be described in four steps:</para>
+ <orderedlist>
+ <listitem><para>The wizard get in database, extracts the tables and
+ their connections</para></listitem>
+ <listitem><para>On basis of this metainfomation the Entity classes
are generated into
+ <property>org.domain.project.entity</property>
package</para></listitem>
+ <listitem><para>For the entities from step 2 the classes
<property>EntityList</property> and
<property>EntityHome</property> are generated
+ into <property>org.domain.project.session</property>
package</para></listitem>
+ <listitem><para>The xhtml pages are
generated.</para></listitem>
+ </orderedlist>
+ <para>
+ Checking the <property>Use existing entities</property> mode the
wizard executes only 3 and 4 steps. It generates missing classes and
+ xhtml pages.
+ </para>
+ <para>Read the <link
linkend="crud_database_application">Generate a CRUD Database
Application</link> chapter in order to see how the <property>Generate Seam
Entities</property> wizard can be used.</para>
+
</chapter>