Quantcast
Channel: Web
Viewing all articles
Browse latest Browse all 51

AppGen

$
0
0
Date Created: 
November 23, 2009 - 09:25
Date Updated: 
April 21, 2015 - 11:29

AppGen eclipse plugin generate full java web application source codes based on Spring and iBatis. You can set the XML configuration mapping file from a database schema quickly by conventions, and can edit it easily. (requires java 1.5 or higher, Data Tools Platform feature)

This plugin requires java 1.5 eclipse runtime or higher.
This plugin tested under

  • Tomcat 6.0 runtime
  • MySQL 5.1.37
  • Oracle 9.2.0
  • Maven 2.1.0

To generate source codes.

  1. Use the eclipse update manager to install this plugin.
    URL: http://appgen.sourceforge.net/update (This URL doesn't work in a browser.)
    Or manually...
    Download zip file at http://sourceforge.net/projects/appgen/files/ (net.sourceforge.appgen_xxx.zip).
    Copy the "plugins/net.sourceforge.appgen_xxx.jar" file to your eclipse plugins directory (ex: C:\eclipse3.x\plugins).
    Copy the "features/net.sourceforge.appgen.feature_xxx.jar" file to your eclipse features directory (ex: C:\eclipse3.x\features).
  2. Restart your eclipse.
  3. Open "File > New > Other..." menu.
  4. In "Select a wizard" dialog, select "AppGen > AppGen mapping file" and click "Next".
  5. In "New Appgen Mapping Data File" dialog, select a "container" and a "file name" and click "Finish".
  6. In the "Appgen Mapping Editor", Edit the "Connection info" and click the "Initialize entities from tables" button.
    You can modify the "Base name" of java class, "Field name" of java field name, ...
    Specially, if you write "AttachFile" at the "Field type", that field will represent a attach file's name
    and, generate source files to persist the attach file.
  7. Edit the "Output files dir", "Project package" and click the "Generate source files" button.

** Liberies required to compile and run the generated application.
The Maven pom.xml file is generated to download the dependent liberaries.
In Maven environment, "mvn" command will help to download dependent liberaries.
Or manually...
You can download dependent liberaries at http://sourceforge.net/projects/appgen/files/ (dependencies) also.

Thanks.


Viewing all articles
Browse latest Browse all 51

Trending Articles