forked from thinkgem/jeesite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
253 changed files
with
3,287 additions
and
3,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,21 @@ | |
|
||
JeeSite是基于多个优秀的开源项目,高度整合封装而成的高效,高性能,强安全性的**开源**Java EE快速开发平台。 | ||
|
||
JeeSite本身是以Spring Framework为核心容器,Spring MVC为模型视图控制器,MyBatis为数据访问层, | ||
Apache Shiro为权限授权层,Ehcahe对常用数据进行缓存,Activit为工作流引擎。 | ||
JeeSite是您快速完成项目的最佳基础平台解决方案,JeeSite是您想学习Java平台的最佳学习案例,JeeSite还是接私活的最佳助手。 | ||
|
||
JeeSite是在Spring Framework基础上搭建的一个Java基础开发平台,以Spring MVC为模型视图控制器,MyBatis为数据访问层, | ||
Apache Shiro为权限授权层,Ehcahe对常用数据进行缓存,Activit为工作流引擎。是JavaEE界的最佳整合。 | ||
|
||
JeeSite主要定位于企业信息化领域,已内置企业信息化系统的基础功能和高效的**代码生成**工具, | ||
包括:系统权限组件、数据权限组件、数据字典组件、核心工具组件、视图操作组件、工作流组件、代码生成等。 | ||
前端界面风格采用了结构简单、性能优良、页面美观大气的Twitter Bootstrap页面展示框架。 | ||
采用分层设计、双重验证、提交数据安全编码、密码加密、访问验证、数据权限验证。 | ||
使用Maven做项目管理,提高项目的易开发性、扩展性。 | ||
|
||
JeeSite目前包括以下三大模块,系统管理(SYS)模块、 | ||
JeeSite目前包括以下四大模块,系统管理(SYS)模块、 | ||
内容管理(CMS)模块、在线办公(OA)模块、代码生成(GEN)模块。 **系统管理模块** ,包括企业组织架构(用户管理、机构管理、区域管理)、 | ||
菜单管理、角色权限管理、字典管理等功能; **内容管理模块** ,包括内容管理(文章、链接),栏目管理、站点管理、 | ||
公共留言、文件管理、前端网站展示等功能; **在线办公模块** ,提供简单的请假流程实例。 | ||
公共留言、文件管理、前端网站展示等功能; **在线办公模块** ,提供简单的请假流程实例;**代码生成模块** ,完成重复的工作。 | ||
|
||
JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、服务器端验证、数据字典、当前组织机构数据 | ||
(用户、机构、区域)以及其它常用小工具等。另外还提供一个强大的在线 **代码生成** 工具, | ||
|
@@ -51,13 +53,13 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
|
||
1、后端 | ||
|
||
* 核心框架:Spring Framework 4.0 | ||
* 核心框架:Spring Framework 4.1 | ||
* 安全框架:Apache Shiro 1.2 | ||
* 视图框架:Spring MVC 4.0 | ||
* 服务端验证:Hibernate Validator 5.1 | ||
* 视图框架:Spring MVC 4.1 | ||
* 服务端验证:Hibernate Validator 5.2 | ||
* 布局框架:SiteMesh 2.4 | ||
* 工作流引擎:Activiti 5.15、FoxBPM 6 | ||
* 任务调度:Spring Task 4.0 | ||
* 工作流引擎:Activiti 5.21 | ||
* 任务调度:Spring Task 4.1 | ||
* 持久层框架:MyBatis 3.2 | ||
* 数据库连接池:Alibaba Druid 1.0 | ||
* 缓存框架:Ehcache 2.6、Redis | ||
|
@@ -67,10 +69,10 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
2、前端 | ||
|
||
* JS框架:jQuery 1.9。 | ||
* CSS框架:Twitter Bootstrap 2.3.1。 | ||
* CSS框架:Twitter Bootstrap 2.3.1(稳定是后台,UI方面根据需求自己升级改造吧)。 | ||
* 客户端验证:JQuery Validation Plugin 1.11。 | ||
* 富文本:CKEcitor | ||
* 文件管理:CKFinder | ||
* 富文本在线编辑:CKEcitor | ||
* 在线文件管理:CKFinder | ||
* 动态页签:Jerichotab | ||
* 手机端框架:Jingle | ||
* 数据表格:jqGrid | ||
|
@@ -82,10 +84,10 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
4、平台 | ||
|
||
* 服务器中间件:在Java EE 5规范(Servlet 2.5、JSP 2.1)下开发,支持应用服务器中间件 | ||
有Tomcat 6、Jboss 7、WebLogic 10、WebSphere 8。 | ||
有Tomcat 6+、Jboss 7+、WebLogic 10+、WebSphere 8+。 | ||
* 数据库支持:目前仅提供MySql和Oracle数据库的支持,但不限于数据库,平台留有其它数据库支持接口, | ||
可方便更改为其它数据库,如:SqlServer 2008、MySql 5.5、H2等 | ||
* 开发环境:Java EE、Eclipse、Maven、Git | ||
你可以很方便的更改为其它数据库,如:SqlServer 2008、MySql 5.5、H2等 | ||
* 开发环境:Java、Eclipse Java EE 4.3、Maven 3.1、Git | ||
|
||
## 安全考虑 | ||
|
||
|
@@ -98,7 +100,7 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
|
||
## 演示地址 | ||
|
||
* <http://demo.jeesite.com/jeesite> 用户名:thinkgem 密码:admin | ||
* <http://demo.jeesite.com/jeesite> 用户名:thinkgem 密码:admin | ||
|
||
## 快速体验 | ||
|
||
|
@@ -111,8 +113,8 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
|
||
## 常见问题 | ||
|
||
1. 有时出现文字乱码:修改Tomcat的server.xml文件的Connector项,增加URIEncoding="UTF-8" | ||
2. 用一段时间提示内存溢出,请修改JVM参数:-Xmx512m -XX:MaxPermSize=256m | ||
1. 用一段时间提示内存溢出,请修改JVM参数:-Xmx512m -XX:MaxPermSize=256m | ||
2. 有时出现文字乱码:修改Tomcat的server.xml文件的Connector项,增加URIEncoding="UTF-8" | ||
3. 为什么新建菜单后看不到新建的菜单?因为授权问题,菜单管理只允许最高管理员账号管理(最高管理员默认账号:thinkgem 密码:admin)。 | ||
|
||
## 更多文档 | ||
|
@@ -121,12 +123,12 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
|
||
## 如何交流、反馈、参与贡献? | ||
|
||
* QQ Group:127515876 209330483 223507718 | ||
* QQ Group:127515876 209330483 223507718 苹果版QQ若不能加入请使用手机QQ最新版 | ||
* E-mail:[email protected] | ||
* GitHub:<https://github.com/thinkgem/jeesite> | ||
* 开源中国:<http://git.oschina.net/thinkgem/jeesite> | ||
* 官方网址:<http://jeesite.com> 论坛:<http://bbs.jeesite.com> | ||
* 捐赠支持JeeSite(支付宝):[[email protected]](http://jeesite.com/donation.html) | ||
* 支持JeeSite发展:(加我好友)支付宝:[email protected] 微信:thinkgem | ||
|
||
一个人的个人能力再强,也无法战胜一个团队,希望兄弟姐妹的支持,能够贡献出自己的部分代码,参与进来共同完善它(^_^)。 | ||
|
||
|
@@ -140,7 +142,9 @@ JeeSite 提供了常用工具进行封装,包括日志工具、缓存工具、 | |
2. 如果你修改了代码,需要在被修改的文件中说明。 | ||
3. **在延伸的代码中(修改和有源代码衍生的代码中)需要带有原来代码中的协议,商标,专利声明和其他原来作者规定需要包含的说明。** | ||
4. 如果再发布的产品中包含一个Notice文件,则在Notice文件中需要带有Apache Licence。你可以在Notice中增加自己的许可,但不可以表现为对Apache Licence构成更改。 | ||
3. Apache Licence也是对商业应用友好的许可。使用者也可以在需要的时候修改代码来满足需要并作为开源或商业产品发布/销售 | ||
5. Apache Licence也是对商业应用友好的许可。使用者也可以在需要的时候修改代码来满足需要并作为开源或商业产品发布/销售 | ||
6. 你可以二次包装出售,**但还请保留文件中的版权和作者信息**,并在你的产品说明中注明JeeSite。 | ||
7. 你可以以任何方式获得,你可以修改包名或类名,**但还请保留文件中的版权和作者信息**。 | ||
|
||
##为何使用MyBatis | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [ÐÅÏ¢] ÇåÀíÉú³É·¾¶¡£ | ||
echo [��Ϣ] �������·���� | ||
echo. | ||
pause | ||
echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [ÐÅÏ¢] Éú³ÉEclipse¹¤³ÌÎļþ¡£ | ||
echo [��Ϣ] ���Eclipse�����ļ��� | ||
echo. | ||
pause | ||
echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [ÐÅÏ¢] Éú³ÉEclipse¹¤³ÌÎļþ¡£ | ||
echo [��Ϣ] ���Eclipse�����ļ��� | ||
echo. | ||
pause | ||
echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [信息] 打包工程,生成war包文件。 | ||
echo [��Ϣ] ���̣����war���ļ��� | ||
echo. | ||
pause | ||
echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
title %cd% | ||
echo. | ||
echo [信息] 使用Jetty插件运行工程。 | ||
echo [��Ϣ] ʹ��Jetty������й��̡� | ||
echo. | ||
rem pause | ||
rem echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
title %cd% | ||
echo. | ||
echo [信息] 使用Tomcat6插件运行工程。 | ||
echo [��Ϣ] ʹ��Tomcat6������й��̡� | ||
echo. | ||
rem pause | ||
rem echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
title %cd% | ||
echo. | ||
echo [信息] 使用Tomcat7插件运行工程。 | ||
echo [��Ϣ] ʹ��Tomcat7������й��̡� | ||
echo. | ||
rem pause | ||
rem echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [信息] 更新项目版本号。 | ||
echo [��Ϣ] ������Ŀ�汾�š� | ||
echo. | ||
rem pause | ||
echo. | ||
|
||
cd %~dp0 | ||
|
||
set /p new=请输入新版本号: | ||
set /p new=�������°汾�ţ� | ||
echo. | ||
|
||
pause | ||
echo. | ||
cd .. | ||
|
||
rem 更新pom版本号 | ||
rem ����pom�汾�� | ||
call mvn versions:set -DnewVersion=%new% | ||
|
||
rem 替换 jeesite.properties 中的版本号 | ||
rem �滻 jeesite.properties �еİ汾�� | ||
echo. | ||
set f=%cd%\src\main\resources\jeesite.properties | ||
echo [INFO] Update %f% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
@echo off | ||
rem /** | ||
rem * Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
rem * | ||
rem * Author: [email protected] | ||
rem */ | ||
echo. | ||
echo [信息] 重建您的数据库并导入初始数据。 | ||
echo [��Ϣ] �ؽ������ݿⲢ�����ʼ��ݡ� | ||
echo. | ||
pause | ||
echo. | ||
echo [信息] 此操作会清空您的数据表和数据,并恢复初始状态。 | ||
echo [��Ϣ] �˲�������������ݱ����ݣ����ָ���ʼ״̬�� | ||
echo. | ||
echo [信息] 确认继续吗?否则请关闭窗口。 | ||
echo [��Ϣ] ȷ�ϼ����𣿷�����رմ��ڡ� | ||
echo. | ||
pause | ||
echo. | ||
echo [信息] 您真的确认继续吗?否则请关闭窗口。 | ||
echo [��Ϣ] �����ȷ�ϼ����𣿷�����رմ��ڡ� | ||
echo. | ||
pause | ||
echo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/filter/PageCachingFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/mapper/JsonMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/ActEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
src/main/java/com/thinkgem/jeesite/common/persistence/BaseDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/** | ||
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
*/ | ||
package com.thinkgem.jeesite.common.persistence; | ||
|
||
/** | ||
* DAO支持类实现 | ||
* @author ThinkGem | ||
* @version 2014-05-16 | ||
*/ | ||
public interface BaseDao { | ||
|
||
/** | ||
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
*/ | ||
package com.thinkgem.jeesite.common.persistence; | ||
|
||
/** | ||
* DAO支持类实现 | ||
* @author ThinkGem | ||
* @version 2014-05-16 | ||
*/ | ||
public interface BaseDao { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/BaseEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/CrudDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/DataEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/Page.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/Parameter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/TreeDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/thinkgem/jeesite/common/persistence/TreeEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.