1 Star 0 Fork 125

daifaming / s2jh4net

forked from xautlx / s2jh4net 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
LGPL-3.0

项目简介

集结最新主流时尚开源技术的面向互联网Web应用的整合前端门户站点、HTMl5移动站点及后端管理系统一体的的基础开发框架,提供一个J2EE相关主流开源技术架构整合及一些企业应用基础通用功能和组件的设计实现的最佳实践和原型参考。

项目托管同步更新站点列表:

https://github.com/xautlx/s2jh4net

http://git.oschina.net/xautlx/s2jh4net

个人空间: http://my.oschina.net/s2jh

提示:为了方便用户区分链接资源是外部和内部,文档特别以link标识:链接前面有此图标说明是外部链接,如果你已经熟悉相关概念可以忽略点击;没有此标识说明是文档内部链接,建议点击访问以完整查阅项目文档。

框架特色

  • 面向主流企业级WEB应用系统的界面和常用基础功能设计实现
  • 主体基于主流的(Spring MVC + Spring3 + Hibernate4/MyBatis3)架构
  • 引入JPA、Spring-Data-JPA提升持久层架构规范性和开发效率
  • 基于流行JQuery/Bootstrap等UI框架和插件整合,良好的浏览器兼容性和移动设备访问支持
  • 提供一个基础的代码生成框架,简化实现快速基本的CRUD功能开发
  • 基于Maven的项目和组件依赖管理模式,便捷高效的与持续集成开发集成

技术架构

  • 技术列表 - 框架主要技术(Java/Web/Tool)组件列表介绍
  • 技术特性 - 主要技术选型和设计说明
  • 异常处理 - 介绍框架的异常处理的策略设计
  • 移动支持 - 以Android为例的Web App与Native App整合应用

开发指南

  • 开发配置 - 开发基础环境配置说明
  • 工程结构 - 对整个项目工程代码结构进行概要性介绍
  • 代码生成 - 用于基本CURD框架代码生成的工具
  • 基础功能 - 框架已经实现的基础功能介绍说明
  • UI组件 - 框架UI组件设计思路和用法演示
  • 表格组件 - 功能强大的Grid表格组件扩展增强
  • 表单控制 - 介绍Web开发过程最主要的表单处理设计

由于项目采用了Lombok等插件,如果你想把git获取工程代码导入开发环境,请一定提前浏览文档 开发配置 为IDE进行Lombok等插件配置,否则会出一大堆编译错误。

核心模块

  • 基础数据 - 介绍框架对于基础数据及开发测试数据的设计思路
  • 数据审计 - 基于Hibernate Envers组件实现业务数据变更审计记录
  • 计划任务 - 基于Quartz组件实现计划任务的配置监控管理
  • 爬虫数据采集 - 参考Nutch实现一个Web管理的轻量级爬虫数据采集解析模块

为了便于开发过程参考,项目直接把开发相关的参考样例和指南文档嵌入到运行部署应用中,具体内容可在线浏览,如下图Snapshot部分截图示意。

在线演示

http://101.200.31.248:8080/s2jh4net/admin

前端门户和HTML5移动站点目前内容较少,主要演示集中在管理端。账号:admin,密码:admin123,或直接点击右下方的“超级管理员”登录链接即可。

在线演示站点为单点低配阿里云服务器,可能存在访问缓慢情况或更新时中断。同时为了防止随意数据变更导致系统崩溃,对个别功能启用了演示禁用控制。

建议可参考 开发配置 在本地运行完整体验。

项目最新自动化持续集成构建状态 Travis-CI Status: Build Status

截图展示

ui-signin

ui-example

S2JH4Net vs S2JH

重要提示: 由于个人精力有限,目前主要重心都已放在S2JH4Net版本更新维护,原有S2JH版本已基本暂停更新!

此项目为 S2JH ( https://github.com/xautlx/s2jhhttp://git.oschina.net/xautlx/s2jh ) 项目的兄弟项目,主要差异简介:

  • s2jh基于Struts2,s2jh4net基于Spring MVC
  • s2jh4net在原有s2jh只面向企业应用系统开发的基础上,重新组织模块和结构来支持典型的互联网站点以及HTML5移动站点开发的支持;
  • 为了简化开发和构建的复杂度,还原采用单一all-in-one的动态Web工程模式,不再进行复杂的Maven模块化布局(但是Maven进行依赖管理和构建还是保留);
  • 实体对象属性定义采用了Lombok来简化繁琐的getter和setter定义;
  • JPA Hibernate和MyBatis整合应用;
  • 权限框架改用Apache Shiro;
  • 自动基于注解定义的菜单、权限等数据生成数据库基础配置,采用Java编码方式定义基础数据,抛弃之前的SQL脚本方式;一边开发编码,一边项目实施;

许可说明

  • 免费许可

本项目代码除src/main/webapp/assets目录下admin/app和w/app两个目录下少量相关Javascript代码以混淆方式提供外,其余开源,在保留标识本项目来源信息以及保证不对本项目进行非授权的销售行为的前提下,可以以任意方式自由免费使用:开源、非开源、商业及非商业。

若对项目有任何技术问题或Issue反馈,可加QQ群讨论组:303438676 或提交到项目站点提问或Git平台的Issue: http://www.oschina.net/p/s2jh4net , http://git.oschina.net/xautlx/s2jh4net/issues , https://github.com/xautlx/s2jh4net/issues

  • 收费服务

如果你还有兴趣在现有开放资源基础上进一步获取完整源码/提供定制的扩展实现/技术咨询服务/毕业设计指导/二次开发项目指导等方面的合作意向,可联系 E-Mail: s2jh-dev@hotmail.com 或 QQ: 2414521719 (加Q请注明:s2jh4net) 洽谈。[上述个人联系方式为收费服务渠道,恕不提供免费咨询]

参考引用

欢迎关注作者其他项目:

  • Nutch 2.X AJAX Plugins (Active) - 基于Apache Nutch 2.3和Htmlunit, Selenium WebDriver等组件扩展,实现对于AJAX加载类型页面的完整页面内容抓取,以及特定数据项的解析和索引

  • S2JH4Net (Active) - 基于Spring MVC+Spring+JPA+Hibernate的面向互联网及企业Web应用开发框架

  • S2JH (Deprecated) - 基于Struts2+Spring+JPA+Hibernate的面向企业Web应用开发框架

  • Nutch 1.X AJAX Plugins (Deprecated) - 基于Apache Nutch 1.X和Htmlunit的扩展实现AJAX页面爬虫抓取解析插件

  • 12306 Hunter (Deprecated) - (功能已失效不可用,不过还可以当作Swing开发样列参考只用)Java Swing C/S版本12306订票助手,用处你懂的

GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. “The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.

简介

集结最新主流时尚开源技术的面向互联网Web应用的整合前端门户站点、HTMl5移动站点及后端管理系统一体的的基础开发框架,提供一个J2EE相关主流开源技术架构整合及一些企业应用基础通用功能和组件的设计实现的最佳实践和原型参考。 展开 收起
Java
LGPL-3.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/daifm/s2jh4net.git
git@gitee.com:daifm/s2jh4net.git
daifm
s2jh4net
s2jh4net
master

搜索帮助