Skip to content

boomyamm/jpetstore-6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Readme
JPetStore 6 is a full web application built on top of MyBatis 3, Spring 3 and Stripes. It is available for downloading in the downloads section of MyBatis project site. In this section we will walk through this sample to understand how is it built and learn how to run it.

See: http://www.mybatis.org/spring/sample.html

## Running sample under eclipse
Follow the next steps to run the sample on Tomcat 7.0, by using eclipse IDE
- Download and install a JDK, eclipse and tomcat 7
- Run Eclipse
- In eclipse, go to Help/Eclipse Marketplace
- Install m2e plugin (maven)
- Install m2e-wtp plugin (maven for wtp)
- Check out the project from Git and import it into the workspace
- A new project named "jpetstore-6" will be shown
- Right click on jpetstore project and click on configure/convert to maven project
- Right click on jpetstore project and select "run on server"
- Select Tomcat 7 Server and set your installation directory
- JPetStore home page should be shown

## Running with Tomcat 6
Running JPetStore sample under Tomcat 6 (using maven).
- Clone this repository
- Open command prompt/shell and change to cloned directory
- Issue following command to run project using Tomcat 6

mvm clean tomcat:run

- Run application in browser http://localhost:8080/jpetstore/ 
- Press Ctrl-C to stop the server.

## Running with Tomcat 7
Running JPetStore sample under Tomcat 6 (using maven).
- Clone this repository
- Open command prompt/shell and change to cloned directory
- Issue following command to run project using Tomcat 7

mvm clean tomcat7:run

- Run application in browser http://localhost:8080/jpetstore/ 
- Press Ctrl-C to stop the server.

About

A web application built on top of MyBatis 3, Spring 3 and Stripes

Resources

License

Stars

Watchers

Forks

Packages

No packages published