JPetStore 6 is a full web application built on top of MyBatis 3, Spring 4 and Stripes.
- JPetstore on top of Spring, Spring MVC, MyBatis 3, and Spring Security https://github.com/making/spring-jpetstore
- JPetstore with Vaadin and Spring Boot with Java Config https://github.com/igor-baiborodine/jpetstore-6-vaadin-spring-boot
- JPetstore on MyBatis Spring Boot Starter https://github.com/kazuki43zoo/mybatis-spring-boot-jpetstore
Running JPetStore sample under Tomcat (using the cargo-maven2-plugin).
-
Clone this repository
$ git clone https://github.com/mybatis/jpetstore-6.git
-
Build war file
$ cd jpetstore-6 $ mvn clean package
-
Startup the Tomcat server and deploy web application
$ mvn cargo:run
Note:
We provide maven profiles per application server as follow:
Profile Description tomcat90 Running under the Tomcat 9.0 (Mileston version) tomcat85 Running under the Tomcat 8.5 (default profile) tomcat80 Running under the Tomcat 8.0 tomcat70 Running under the Tomcat 7.0 tomee Running under the TomEE 7 wildfly Running under the WildFly 10 liberty Running under the WebSphere Liberty 16 jetty Running under the Jetty 9 glassfish Running under the GlassFish 4 resin Running under the Resin 4 $ mvn cargo:run -P tomcat90
-
Run application in browser http://localhost:8080/jpetstore/
-
Press Ctrl-C to stop the server.