Quantcast
Channel: CSDN博客推荐文章
Viewing all articles
Browse latest Browse all 35570

JEECG v3.0.beta发布,基于代码生成器的智能开发平台

$
0
0

JEECG(J2EE Code Generation) 是一款基于代码生成器的智能开发平台,采用代码生成+手工MERGE半智能开发模式, 可以帮助解决Java项目60%的重复工作,让开发更多关注业务逻辑。既能快速提高开发效率,帮助公司节省人力成本,同时又不失扩展性和灵活性。 
    JEECG宗旨是:简单功能由代码生成器生成使用; 复杂业务采用表单自定义,业务流程使用工作流来实现、扩展出任务接口,供开发编写业务逻辑。 实现了流程任务节点和任务接口的灵活配置,既保证了公司流程的保密行,又减少了开发人员的工作量。 

 

 

JEECG V3.0版本推翻原有SSH2架构,采用SpringMVC+Hibernate+UI快速开发库 基础架构,采用面向声明的开发模式,基于泛型方式编写极少代码即可实现复杂的数据展示、数据编辑、表单处理等功能,再配合代码生成器的使用将JavaEE的开发效率提高6倍以上,可以将代码减少60%以上。 

  • JEECG V3.0版本四大技术点: 1.代码生成器 2.UI快速开发库 3.在线流程设计 4.系统日志记录
  • 技术点一:代码生成器,支持多种数据模型,根据表生成对应的Entity,Service,Dao,Action,JSP等,增删改查功能生成直接使用
  • 技术点二:UI快速开发库,针对WEB UI进行标准封装,页面统一采用UI标签实现功能:数据datagrid,表单校验,Popup,Tab等,实现JSP页面零JS,开发维护非常高效
  • 技术点三:在线流程定义,采用开源Activiti流程引擎,实现在线画流程,自定义表单,表单挂接,业务流转,流程监控,流程跟踪,流程委托等

 


新版本特性: 

  • JEECG V3.0,经过了专业压力测试,性能测试,保证后台数据的准确性和页面访问速度
  • 支持多种浏览器: IE, 火狐, Google 等浏览器访问速度都很快
  • 支持数据库: Mysql,Oracle10g等
  • 基础权限: 用户,角色,菜单权限,按钮权限,数据权限
  • 智能报表集成: 简易的图像报表工具和Excel导入导出
  • Web容器测试通过的有Jetty和Tomcat6
  • 待推出功能:分布式部署,云计算,移动平台开发,规则引擎,代码生成器(eclipse插件)
  • 要求JDK1.6+

 

交流群:106259349, 106838471, 289782002 
邮箱:zhangdaiscott@163.com 

联系人:张代浩
论坛:http://www.jeecg.org/ 

下载地址:http://code.google.com/p/jeecg/downloads/list

网盘(视频+源码):http://pan.baidu.com/share/link?shareid=169771&uk=2668473880

 

项目演示: 

 



 



 

 

 

 

 

 

UI快速开发库演示

 

[1].Datagrid列表页面代码

 

 

Html代码 
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>  
  2. <%@include file="/context/mytags.jsp"%>  
  3. <div class="easyui-layout" fit="true">  
  4.   <div region="center" style="padding:1px;">  
  5.   <t:dategrid name="jeecgDemoList" title="开发DEMO列表" actionUrl="jeecgDemoController.do?datagrid" idField="id" fit="true">  
  6.    <t:dgCol title="编号" field="id" hidden="false"></t:dgCol>  
  7.    <t:dgCol title="用户名" field="userName" query="true"></t:dgCol>  
  8.    <t:dgCol title="电话号码" sortable="false" field="mobilePhone" width="20" query="true"></t:dgCol>  
  9.    <t:dgCol title="办公电话" field="officePhone"></t:dgCol>  
  10.    <t:dgCol title="邮箱" field="email"></t:dgCol>  
  11.    <t:dgCol title="年龄" sortable="true" field="age"></t:dgCol>  
  12.    <t:dgCol title="工资"  field="sex"></t:dgCol>  
  13.    <t:dgCol title="性别"  field="salary"></t:dgCol>  
  14.    <t:dgCol title="生日" field="birthday" formatter="yyyy/MM/dd"></t:dgCol>  
  15.    <t:dgCol title="创建日期" field="createTime" formatter="yyyy-MM-dd hh:mm:ss"></t:dgCol>  
  16.    <t:dgCol title="操作" field="opt" width="100"></t:dgCol>  
  17.    <t:dgFunOpt funname="szqm(id)" title="审核" />  
  18.    <t:dgDelOpt title="删除" url="jeecgDemoController.do?del&id={id}" />  
  19.    <t:dgToolBar title="录入" icon="icon-add"></t:dgToolBar>  
  20.    <t:dgToolBar title="编辑" icon="icon-edit"></t:dgToolBar>  
  21.   </t:dategrid>  
  22.   </div>  
  23.   </div>  
  24. <script type="text/javascript">  
  25.         function szqm(id) {  
  26.                 createwindow('审核', 'jeecgDemoController.do?doCheck&id=' + id);  
  27.         }  
  28. </script>  

 

 

[2],Form表单页面代码

 

Java代码 
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>  
  2. <%@include file="/context/mytags.jsp"%>  
  3. <!DOCTYPE html>  
  4. <html>  
  5. <head>  
  6.   <title>开发DEMO</title>  
  7.   <t:base type="jquery,easyui,tools"></t:base>  
  8. </head>  
  9. <body style="overflow-y: hidden" scroll="no">  
  10.   <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="jeecgDemoController.do?save">  
  11.                         <input id="id" name="id" type="hidden" value="${jgDemo.id }">  
  12.                         <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">  
  13.                                 <tr>  
  14.                                         <td align="right" width="15%" nowrap>  
  15.                                                 <label class="Validform_label">  
  16.                                                         用户名:  
  17.                                                 </label>  
  18.                                         </td>  
  19.                                         <td class="value" width="85%">  
  20.                                                 <c:if test="${jgDemo.id!=null }">  
  21.                                              ${jgDemo.userName }  
  22.                                              </c:if>  
  23.                                                 <c:if test="${jgDemo.id==null }">  
  24.                                                         <input id="userName" class="inputxt" name="userName"  
  25.                                                                 value="${jgDemo.userName }" datatype="s2-10">  
  26.                                                         <span class="Validform_checktip">用户名范围在2~10位字符</span>  
  27.                                                 </c:if>  
  28.                                         </td>  
  29.                                 </tr>  
  30.                                 <tr>  
  31.                                         <td align="right" nowrap>  
  32.                                                 <label class="Validform_label">  
  33.                                                         手机号码:  
  34.                                                 </label>  
  35.                                         </td>  
  36.                                         <td class="value">  
  37.                                                 <input class="inputxt" name="mobilePhone"  
  38.                                                         value="${jgDemo.mobilePhone}" datatype="m" errormsg="手机号码不正确!"  
  39.                                                         ignore="ignore">  
  40.                                                 <span class="Validform_checktip"></span>  
  41.                                         </td>  
  42.                                 </tr>  
  43.                                 <tr>  
  44.                                         <td align="right">  
  45.                                                 <label class="Validform_label">  
  46.                                                         办公电话:  
  47.                                                 </label>  
  48.                                         </td>  
  49.                                         <td class="value">  
  50.                                                 <input class="inputxt" name="officePhone"  
  51.                                                         value="${jgDemo.officePhone}" datatype="n"  
  52.                                                         errormsg="办公室电话不正确!" ignore="ignore">  
  53.                                                 <span class="Validform_checktip"></span>  
  54.                                         </td>  
  55.                                 </tr>  
  56.                                 <tr>  
  57.                                         <td align="right">  
  58.                                                 <label class="Validform_label">  
  59.                                                         常用邮箱:  
  60.                                                 </label>  
  61.                                         </td>  
  62.                                         <td class="value">  
  63.                                                 <input class="inputxt" name="email" value="${jgDemo.email}"  
  64.                                                         datatype="e" errormsg="邮箱格式不正确!" ignore="ignore">  
  65.                                                 <span class="Validform_checktip"></span>  
  66.                                         </td>  
  67.                                 </tr>  
  68.                                 <tr>  
  69.                                         <td align="right">  
  70.                                                 <label class="Validform_label">  
  71.                                                         年龄:  
  72.                                                 </label>  
  73.                                         </td>  
  74.                                         <td class="value">  
  75.                                                 <input class="inputxt" name="age" value="${jgDemo.age}"  
  76.                                                         datatype="n" errormsg="年龄格式不正确!" ignore="ignore">  
  77.                                                 <span class="Validform_checktip"></span>  
  78.                                         </td>  
  79.                                 </tr>  
  80.                                 <tr>  
  81.                                         <td align="right">  
  82.                                                 <label class="Validform_label">  
  83.                                                         工资:  
  84.                                                 </label>  
  85.                                         </td>  
  86.                                         <td class="value">  
  87.                                                 <input class="inputxt" name="salary" value="${jgDemo.salary}"  
  88.                                                         datatype="d" errormsg="工资格式不正确!" ignore="ignore">  
  89.                                                 <span class="Validform_checktip"></span>  
  90.                                         </td>  
  91.                                 </tr>  
  92.                                 <tr>  
  93.                                         <td align="right">  
  94.                                                 <label class="Validform_label">  
  95.                                                         生日:  
  96.                                                 </label>  
  97.                                         </td>  
  98.                                         <td class="value">  
  99.                                                 <input name="birthday" class="easyui-datebox"  
  100.                                                         value="<fmt:formatDate value='${jgDemo.birthday }' type="date"/>"  
  101.                                                         errormsg="生日格式不正确!" ignore="ignore">  
  102.                                                 <span class="Validform_checktip"></span>  
  103.                                         </td>  
  104.                                 </tr>  
  105.                                 <tr>  
  106.                                         <td align="right">  
  107.                                                 <label class="Validform_label">  
  108.                                                         创建日期:  
  109.                                                 </label>  
  110.                                         </td>  
  111.                                         <td class="value">  
  112.                                                 <input name="createTime" class="easyui-datetimebox"  
  113.                                                         value="${jgDemo.createTime}"  
  114.                                                         errormsg="日期格式不正确!" ignore="ignore">  
  115.                                                 <span class="Validform_checktip"></span>  
  116.                                         </td>  
  117.                                 </tr>  
  118.                                 <tr>  
  119.                                         <td align="right">  
  120.                                                 <label class="Validform_label">  
  121.                                                         性别:  
  122.                                                 </label>  
  123.                                         </td>  
  124.                                          <td class="value">  
  125.                                           <t:comboBox url="jeecgDemoController.do?combox" name="sex" text="userName" id="id"></t:comboBox>  
  126.                                       <span class="Validform_checktip"></span>  
  127.                                      </td>  
  128.                                 </tr>  
  129.                                 <tr>  
  130.                              <td align="right">  
  131.                               <label class="Validform_label">  
  132.                                部门:  
  133.                               </label>  
  134.                              </td>  
  135.                              <td class="value">  
  136.                               <select id="depId"  name="depId"  datatype="*">  
  137.                                <c:forEach items="${departList}" var="depart">  
  138.                                 <option value="${depart.id }" <c:if test="${depart.id==jgDemo.depId}">selected="selected"</c:if>>  
  139.                                  ${depart.departname}  
  140.                                 </option>  
  141.                                </c:forEach>  
  142.                               </select>  
  143.                               <span class="Validform_checktip">请选择部门</span>  
  144.                              </td>  
  145.                             </tr>  
  146.                         </table>  
  147.                 </t:formvalid>  
  148. </body>  

 

作者:zhangdaiscott 发表于2013-3-19 0:16:49 原文链接
阅读:0 评论:0 查看评论

Viewing all articles
Browse latest Browse all 35570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>