/jpetstore-6

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

Primary LanguageJavaApache License 2.0Apache-2.0

MyBatis JPetStore

Build Status Coverage Status Dependency Status License

mybatis-jpetstore

JPetStore 6 is a full web application built on top of MyBatis 3, Spring 4 and Stripes.

Essentials

Other versions that you may want to know about

Run on Application Server

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 -P tomcat85
    

    Note:

    We provide maven profiles per application server as follow:

    Profile Description
    tomcat90 Running under the Tomcat 9.0 (Milestone version)
    tomcat85 Running under the Tomcat 8.5
    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 17
    jetty Running under the Jetty 9
    glassfish Running under the GlassFish 4
    resin Running under the Resin 4
  • Run application in browser http://localhost:8080/jpetstore/

  • Press Ctrl-C to stop the server.

Try integration tests

Perform integration tests for screen transition.

Requires:

  • Running the JPetStore on 8080 port
  • JDK 8
$ mvn test -P itest