Giter Site home page Giter Site logo

mengzhiang / jpetstore-6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mybatis/jpetstore-6

0.0 1.0 0.0 2.43 MB

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

Home Page: http://www.mybatis.org/spring/sample.html

License: Apache License 2.0

Java 88.46% CSS 4.87% HTML 5.13% Shell 1.54%

jpetstore-6's Introduction

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
    $ ./mvnw clean package
    
  • Startup the Tomcat server and deploy web application

    $ ./mvnw cargo:run -P tomcat90
    

    Note:

    We provide maven profiles per application server as follow:

    Profile Description
    tomcat90 Running under the Tomcat 9.0
    tomcat85 Running under the Tomcat 8.5
    tomcat70 Running under the Tomcat 7.0
    tomee71 Running under the TomEE 7.1(Java EE 8)
    tomee70 Running under the TomEE 7.0(Java EE 7)
    wildfly14 Running under the WildFly 14(Java EE 8)
    wildfly13 Running under the WildFly 13(Java EE 7)
    liberty18-ee8 Running under the WebSphere Liberty 18(Java EE 8)
    liberty18-ee7 Running under the WebSphere Liberty 18(Java EE 7)
    jetty Running under the Jetty 9
    glassfish5 Running under the GlassFish 5(Java EE 8)
    glassfish4 Running under the GlassFish 4(Java EE 7)
    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+
$ ./mvnw test -P itest

jpetstore-6's People

Contributors

emacarron avatar harawata avatar hazendaz avatar kazuki43zoo avatar l2dy avatar simonetripodi avatar srbala avatar wangdx avatar

Watchers

 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.