Coder Social home page Coder Social logo

luowei / exit-web-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zheng108/exit-web-framework

1.0 3.0 1.0 5.73 MB

exit-web-framework是对常用的java web开发封装实用功能来提高开发效率。exit-web-framework基于Spring 3、Hibernate4框架来做项目核心三层和MVC的管理。使用到的新功能有spring缓存工厂、apeche shiro安全框架、spring mvc 3等主要技术。

exit-web-framework's Introduction

###框架说明

exit-web-framework是对常用的java web开发封装实用功能来提高开发效率的底层框架。exit-web-framework基于Spring 3做核心框架、Hibernate4或spring data jpa做持久化框架,用spring mvc 框架对mvc做管理。使用到的新功能有spring缓存工厂、apeche shiro安全框架、spring mvc 3,spring data jpa等主要流行技术, 该项目分为两个部分做底层的封装,和带两个项目功能演示例子。

相关帮助文档

初始化工作:


配置maven
  1. 下载maven
  2. 解压maven-[版本]-bin.zip到你想安装的位置
  3. 设置maven系统环境变量,M2_HOME=[maven安装目录位置]
  4. 添加maven bin目录至系统环境变量PATH中, %M2_HOME%\bin
  5. 确认Maven的安装:cmd > mvn -version
安装exit-web-framework到maven中
  1. 使用git或者svn下载exit-web-framework

git地址:git://github.com/exitsoft/exit-web-framework.git
svn地址:https://github.com/exitsoft/exit-web-framework.git

  1. 点击根目录下的quick-start.bat文件进行安装,当看见以下信息时表示安装成功:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.147s
[INFO] Finished at: Mon Oct 07 10:59:23 CST 2013
[INFO] Final Memory: 9M/156M
[INFO] ------------------------------------------------------------------------
[INFO] start basic curd app
[INFO] Please wait a moment. When you see "[INFO] Started Jetty Server", you can visit: http://localhost:8080/exitsoft-basic-curd/ to view the demo

你可以通过http://localhost:8080/exitsoft-basic-curd/来访问项目

该安装过程会将exit-web-framework中的exit-common和exit-orm生成jar包放入maven的.m2文件夹中(当然,这两个框架使用到的依赖jar包也会下载到.m2文件夹中).同时也会初始化h2数据库和启动jetty,让执行完成后直接访问。

exitsoft common 简单说明

该jar包是对基本的常用工具类的一些简单封装。如泛型,反射,配置文件等工具类的封装。

exitsoft orm 简单说明

该jar包是对持久化层的框架封装,目前只对Hibernate4和spring data jpa的CURD和辅助查询功能封装。

项目功能演示例子

在文件夹的shorcase里有一个basic-curd项目。该项目是对以上两个框架(exit-common和exit-orm)和其他技术的整合做的例子,通过该例子使用maven做了一个archetype基础模板。可以通过该archetype来生成一个新的项目。该文件在basic-curd\bin下面。

通过basic-curd项目文件夹中的bin/jetty.bat文件运行项目,也可以用eclipse.bat生成项目导入到开发工具中在运行。该工程下有一个基于jeety运行的java文件org.exitsoft.showcase.test.LaunchJetty.你也可以通过该文件运行整个项目.

导入eclipse或者myeclipse

在根目录下的bin目录有一个eclipse.bat和myeclipse.bat,点击eclipse.bat/myeclipse.bat会生成project,看见以下信息表示生成成功,可以直接导入eclipse/myclipse


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] exitsoft parend ................................... SUCCESS [0.797s]
[INFO] exitsoft common jar ............................... SUCCESS [55.718s]
[INFO] exitsoft orm jar .................................. SUCCESS [5.579s]
[INFO] vcs admin panel ................................... SUCCESS [5.734s]
[INFO] vcs admin panel use jpa ........................... SUCCESS [0.203s]
[INFO] exit web framework project ........................ SUCCESS [0.313s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:08.828s
[INFO] Finished at: Fri Jan 04 11:11:00 CST 2013
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------

exit-web-framework's People

Contributors

fkfish avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

rucky2013

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.