Giter VIP home page Giter VIP logo

exit-web-framework's Introduction

Readme

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

初始化工作:


配置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中

该安装过程会将exit-web-framework中的exit-common和exit-orm生成jar包放入mavee的.m2文件夹中

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. 点击根目录下的bin/install.bat文件进行安装,当看见该信息时表示安装成功:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] exitsoft parend ................................... SUCCESS [2.331s]
[INFO] exitsoft common jar ............................... SUCCESS [6.575s]
[INFO] exitsoft orm jar .................................. SUCCESS [2.764s]
[INFO] vcs admin panel ................................... SUCCESS [8.346s]
[INFO] exit web framework project ........................ SUCCESS [0.390s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.171s
[INFO] Finished at: Mon Aug 20 16:24:34 CST 2012
[INFO] Final Memory: 29M/174M
[INFO] ------------------------------------------------------------------------
exitsoft common jar

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

exitsoft orm jar

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

项目功能演示例子

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

该项目使用了mysql数据库,在vcs-admin文件夹中有一个database的文件夹里面有对应该项目使用的数据。导入之后可以通过 vcs-admin项目文件夹中的bin文件夹下的jetty.bat文件运行项目,也可以用eclipse.bat生成项目导入到开发工具中在运行。 该工程下有一个基于jeety运行的java文件org.exitsoft.showcase.vcsadmin.app.LaunchJetty.你也可以通过该文件运行整个 项目.

###### archetype基础模板使用说明 1. 点击根目录的install.bat进行初始化 1. 点击archetype-generate.bat生成你的项目
导入eclipse或者myeclipse

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] exitsoft parend ................................... SUCCESS [2.331s]
[INFO] exitsoft common jar ............................... SUCCESS [6.575s]
[INFO] exitsoft orm jar .................................. SUCCESS [2.764s]
[INFO] vcs admin panel ................................... SUCCESS [8.346s]
[INFO] exit web framework project ........................ SUCCESS [0.390s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.171s
[INFO] Finished at: Mon Aug 20 16:24:34 CST 2012
[INFO] Final Memory: 29M/174M
[INFO] ------------------------------------------------------------------------

exit-web-framework's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.