|
Project Information
Links
|
Introductionjboss seam and appfuse are both great j2ee application framework,i like them very much. but i think they can refer to mutually,so the myseam appears,it contains the all feature of jboss seam2.0GA,at one time it expand some new feature for more conveniently develop,and using some feature of appfuse too. new feature that the jboss seam don't contain:
<?xml version="1.0" encoding="UTF-8"?>
<gen4db>
<!-- module configuration -->
<!--
one applicatin cant have more than one modules,and in one module
can have more than one tables separated by comma
-->
<modules >
<module name="common">
sys_user,sys_role
</module>
<module name="resource">
rs_resource
</module>
</modules>
<!-- the all tables prefix,separated by comma -->
<prefix>sys,rs</prefix>
<!-- the primary key generation type,the value must be in IDENTITY,SEQUENCE,TABLE,AUTO -->
<primaryKeyType>IDENTITY</primaryKeyType>
</gen4db>
and suppose the base package is com.googlecode.myproject,then the code generated is the following:
model
com.googlecode.myproject.model
common
User.java
Role.jave
resource
Resource.java
action
com.googlecode.myproject.service
common
UserHome.java
UserList.java
RoleHome.jave
RoleList.jave
resource
ResourceHome.java
ResourceList.java
view
common
UserEdit.xhtml,eg.
RoleEdit.xhtml,eg.
resource
ResourceEdit.xhtml,eg.Getting Started
QuestionPlease submit to issues or mail to h.chlolz@gmail.com,if having any question. |