hjpestore 设计实现系列
来源:互联网 发布:日本二战海军知乎 编辑:程序博客网 时间:2024/06/05 06:54
关于本文
本文是一篇 基于Hibernate Spring 开源框架的JAVA 企业应用的设计与实现说明书
本文采用纯开源技术: 从基础的 load balancer 到Base64工具性的代码
本文面象一线工程师,内容布满源代码
本文不适合 JAVA 初学者,起码要使用 Spring, Hibernate 写过至少一个实际的项目
本文不会是老练的设计师的菜肴
本文以 hjpetstore2.0 为例展开
获取Hjpetstore源代码
check out hjpetstore2 source code
Hjpetstore配置与部署
Assumptions:
you have check out hjpetstore2 source code
you have installed maven
you have installed glassfish and set it up according to Create GlassFish JNDI resource for hjpetstore 2.0
you have completed the task described in hjpetstore2.0/src/main/resources/conf/maven-readme.txt
(install two jar into local maven repository as they are not available in open community maven repositories)
Steps:
cd to the checkout folder
cd /home/pprun/cvsout/hjpetstore/hjpetstore2/
mvn clean package -Dmaven.test.skip=true
depends on the status of your network, it may take a while to finish at first time
start GlassFish default domain
/home/pprun/java/glassfish-3.0.1/bin/asadmin start-domain
deploy it by:
pprun@pprun-laptop:/home/pprun/java/glassfish-3.0.1/bin/asadmin deploy target/hjpetstore.war
access the application in browser: http://localhost:8080/
BTW, to undeploy it:
pprun@pprun-laptop:asadmin undeploy
- hjpestore 设计实现系列
- C++ 实现 设计模式 系列
- 用Java实现的设计模式系列(1)-Factory
- 用Java实现的设计模式系列(2)-Prototype
- 用Java实现的设计模式系列(3)--Builder
- TMS320C6000系列二次Bootloader的设计与实现
- 设计模式实现系列-策略模式-装饰模式-代理模式
- [Feature phone系列]电话本模块设计和实现
- [Feature phone系列]短信模块的设计和实现
- 【CSS3 入门教程系列】CSS3 Media Queries 实现响应式设计
- 【CSS3 入门教程系列】CSS3 Media Queries 实现响应式设计
- 《实现领域驱动设计》系列(1) DDD入门
- fresco系列一 异步框架的设计与实现
- IoC容器系列的设计与实现:BeanFactory和ApplicationContext
- IoC容器系列的设计与实现:BeanFactory和ApplicationContext
- Spring源码解析之IoC容器系列的设计实现(IoC容器系列概况)
- 我看设计模式系列(1)--简单工厂模式【设计模式C++实现】
- WebApi系列~基于单请求封装多请求的设计~请求的安全性设计与实现
- 模拟电子技术16 30------——放大电路 动态分析 微变等效电路 应用 续
- 达内-----二维数组和各种排序
- json的解析方式
- Jquery Ajax学习实例7 Ajax所有过程事件分析示例
- jquery解析json
- hjpestore 设计实现系列
- jQuery 解析xml文件
- JQuery this 和 $(this) 的区别
- POJ 2263 Heavy Cargo(图的遍历)
- poj3067
- JS 面向对象的5钟写法
- javascript 面向对象编程基础:继承
- javascript 面向对象编程基础 多态
- javascript 面向对象编程基础:封装