My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Introduction

jboss 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:

  1. the Home Bean,List Bean,entity can be generated into difference package,and the view can be generated into difference directory,such as,i have three tables:sys_role,sys_user,rs_resource in database,first configurate the gen4db.xml as the following:
  2. <?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.
  3. the code generated don't constain the table prefix,including the code name.
  4. the all label value in page be config in resource file and generated by tools.
  5. use datascroller tag to scroll the page for listing data by default.
  6. user rich:calendar for timestamp property.
  7. format date for the view and list page and the format be config in resource file.
  8. the value of getMaxResults be config in resource file.
  9. add user and role management module.

Getting Started

  1. if you are not familiar with jboss seam,please first spend some time to study jboss seam.
  2. QuickStart to starting myseam.

Question

Please submit to issues or mail to h.chlolz@gmail.com,if having any question.

Powered by Google Project Hosting