文件名称:rapid代码生成器

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2011-02-22
  • 文件大小:
  • 2.94mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • jeekchen
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

现阶段内置模板可以生成的包括: 可以生成java的hibernat model+annotation,hibernate model+xml,dao,manager,struts+struts2 action类 生成jsp的增删改查. (生成的代码与rapid-fr a mework绑定才比较有意义) 通常代码生成器存在的问题. * 二次开发困难 * 过于智能,自动插入我们的项目中,程序员还需考虑旧的代码会不会被覆盖的问题 * 没有将存放模板的目录名称及文件名称利用起来,导致还需配置每个模板文件生成的文件名,目录结构 具体请查看我写的文章:为何代码生成器都要这么智能呢? 本代码生成器的特性 * 基于FreeMarker模板语言 * 基于数据库,并支持多种数据库(mysql,sql server,oracle测试通过) * 半手工方式,生成的代码放在某个目录,再手工拷贝回来工作区 * 易于做二次开发,整个生成器本身就是java源代码,源代码核心十分精简,并且鼓励你做修改代码,也可以作为任何语言的代码生成器 * 配置简单,只有一个配置文件generator.properties * 以application方式运行生成器,生成不同的table直接修改相关java代码即可 * 将文件系统的目录名称及文件名称作为生成器的一部分,模板文件的的名称与目录名称可以直接引用相关变量,如 ${basepackage}/${className}.java (${className}=Blog,则会生成Blog.java) * 以@testExpression结尾的模板文件为有条件忽略,如果testExpression的值在数据模型为true则生成该文件,生成的文件不会包含@testExpression,反之则不生成该文件(应用场景:用于在是否要生成hibernate联合主建的文件中) * 支持文件插入操作,如模板输出生成的地方已经有该同名的文件存在,并且文件中有包含"webapp-generator-insert- location"标记,则模板生成的内容会插入在该标记之后.该特性对如生成的spring配置内容插入spring配置文件十分有用
相关搜索: rapid

(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : rapid-generator-v1.0.1.zip 列表
rapid-generator/
rapid-generator/generator_lib/
rapid-generator/src/
rapid-generator/src/generator/
rapid-generator/src/generator/generator/
rapid-generator/src/generator/generator/model/
rapid-generator/src/generator/generator/util/
rapid-generator/template/
rapid-generator/template/insert_demo/
rapid-generator/template/java/
rapid-generator/template/java/${basepackage_dir}/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/dao/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/model/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/service/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/web/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/web/action/
rapid-generator/template/java/${basepackage_dir}/${subpackage}/web/form/
rapid-generator/template/java_test/
rapid-generator/template/java_test/${basepackage_dir}/
rapid-generator/template/java_test/${basepackage_dir}/${subpackage}/
rapid-generator/template/java_test/${basepackage_dir}/${subpackage}/dao/
rapid-generator/template/java_test/${basepackage_dir}/${subpackage}/service/
rapid-generator/template/jsp/
rapid-generator/template/jsp/${subpackage}/
rapid-generator/template/jsp/${subpackage}/${className}/
rapid-generator/template/other/
rapid-generator/template/other/java_hibernate_xml/
rapid-generator/template/other/java_hibernate_xml/${basepackage_dir}/
rapid-generator/template/other/java_hibernate_xml/${basepackage_dir}/model/
rapid-generator/template/struts2/
rapid-generator/template/struts2/java/
rapid-generator/template/struts2/java/${basepackage_dir}/
rapid-generator/template/struts2/java/${basepackage_dir}/${subpackage}/
rapid-generator/template/struts2/java/${basepackage_dir}/${subpackage}/action/
rapid-generator/template/struts2/jsp/
rapid-generator/template/struts2/jsp/${subpackage}/
rapid-generator/template/struts2/jsp/${subpackage}/${className}/
rapid-generator/generator_lib/classes12.jar
rapid-generator/generator_lib/commons-beanutils.jar
rapid-generator/generator_lib/commons-io.jar
rapid-generator/generator_lib/commons-logging-1.0.3.jar
rapid-generator/generator_lib/freemarker.jar
rapid-generator/generator_lib/mysql-connector-java-5.0.5-bin.jar
rapid-generator/generator_lib/sqljdbc.jar
rapid-generator/rapid-generator-guide.pdf
rapid-generator/src/generator/generator.properties
rapid-generator/src/generator/generator/DbModelProvider.java
rapid-generator/src/generator/generator/Generator.java
rapid-generator/src/generator/generator/GeneratorMain.java
rapid-generator/src/generator/generator/PropertiesProvider.java
rapid-generator/src/generator/generator/model/Column.java
rapid-generator/src/generator/generator/model/ForeignKey.java
rapid-generator/src/generator/generator/model/ForeignKeys.java
rapid-generator/src/generator/generator/model/Table.java
rapid-generator/src/generator/generator/util/DatabaseDataTypesUtils.java
rapid-generator/src/generator/generator/util/FileHelper.java
rapid-generator/src/generator/generator/util/IOHelper.java
rapid-generator/src/generator/generator/util/ListHashtable.java
rapid-generator/src/generator/generator/util/StringHelper.java
rapid-generator/src/generator/generator/util/StringTemplate.java
rapid-generator/template/custom.include
rapid-generator/template/insert_demo/i18n.properties
rapid-generator/template/insert_demo/spring-service.xml
rapid-generator/template/java/${basepackage_dir}/${subpackage}/dao/${className}Dao.java
rapid-generator/template/java/${basepackage_dir}/${subpackage}/model/${className}.java
rapid-generator/template/java/${basepackage_dir}/${subpackage}/model/${className}Id.java@compositeId
rapid-generator/template/java/${basepackage_dir}/${subpackage}/service/${className}Manager.java
rapid-generator/template/java/${basepackage_dir}/${subpackage}/web/action/${className}Action.java
rapid-generator/template/java/${basepackage_dir}/${subpackage}/web/form/${className}Form.java
rapid-generator/template/java_copyright.include
rapid-generator/template/java_imports.include
rapid-generator/template/java_test/${basepackage_dir}/${subpackage}/dao/${className}DaoTest.java
rapid-generator/template/java_test/${basepackage_dir}/${subpackage}/service/${className}ManagerTest.java
rapid-generator/template/jsp/${subpackage}/${className}/create.jsp
rapid-generator/template/jsp/${subpackage}/${className}/edit.jsp
rapid-generator/template/jsp/${subpackage}/${className}/form_include.jsp
rapid-generator/template/jsp/${subpackage}/${className}/list.jsp
rapid-generator/template/jsp/${subpackage}/${className}/query.jsp
rapid-generator/template/jsp/${subpackage}/${className}/show.jsp
rapid-generator/template/macro.include
rapid-generator/template/other/java_hibernate_xml/${basepackage_dir}/model/${className}.hbm.xml
rapid-generator/template/other/java_hibernate_xml/${basepackage_dir}/model/${className}.java
rapid-generator/template/other/java_hibernate_xml/${basepackage_dir}/model/${className}Id.java@compositeId
rapid-generator/template/struts2/java/${basepackage_dir}/${subpackage}/action/${className}Act

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org