• Stars
    star
    578
  • Rank 77,250 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 12 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

MyBatis JPetStore

Java CI Container Support Coverage Status License

mybatis-jpetstore

JPetStore 6 is a full web application built on top of MyBatis 3, Spring 5 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
    tomee80 Running under the TomEE 8.0(Java EE 8)
    tomee71 Running under the TomEE 7.1(Java EE 7)
    wildfly26 Running under the WildFly 26(Java EE 8)
    wildfly13 Running under the WildFly 13(Java EE 7)
    liberty-ee8 Running under the WebSphere Liberty(Java EE 8)
    liberty-ee7 Running under the WebSphere Liberty(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.

Run on Docker

docker build . -t jpetstore
docker run -p 8080:8080 jpetstore

or with Docker Compose:

docker compose up -d

Try integration tests

Perform integration tests for screen transition.

$ ./mvnw clean verify -P tomcat90

More Repositories

1

mybatis-3

MyBatis SQL mapper framework for Java
Java
19,751
star
2

generator

A code generator for MyBatis.
Java
5,281
star
3

spring-boot-starter

MyBatis integration with Spring Boot
Java
4,132
star
4

spring

Spring integration for MyBatis 3
Java
2,822
star
5

mybatis-dynamic-sql

SQL DSL (Domain Specific Language) for Kotlin and Java. Supports rendering for MyBatis or Spring JDBC Templates
Java
1,094
star
6

redis-cache

MyBatis Redis Cache adapter
Java
411
star
7

mybatipse

Eclipse plugin adding support for MyBatis SQL Mapper Framework.
Java
333
star
8

migrations

A command line Database migrations tool
Java
214
star
9

parent

The MyBatis parent POM which has to be inherited by all MyBatis modules
176
star
10

guice

Google Guice integration for MyBatis 3
Java
175
star
11

scala

The Scala version of MyBatis SQL Mapper
Scala
151
star
12

ehcache-cache

MyBatis EhCache adapter
Java
149
star
13

ibatis2mybatis

Tool to convert iBATIS 2 xml files to MyBatis3
XSLT
108
star
14

ibatis-2

iBATIS 2.x
Java
98
star
15

typehandlers-jsr310

MyBatis type handlers for JSR-310
Java
95
star
16

spring-native

Java
86
star
17

memcached-cache

MyBatis Memcached adapter
Java
72
star
18

ignite-cache

Adapter for Apache Ignite
Java
62
star
19

freemarker-scripting

FreeMarker plugin for MyBatis 3.2
Java
60
star
20

velocity-scripting

Velocity scripting plugin for MyBatis
Java
48
star
21

ibatis-spring

Ibatis integration code copied from Spring ORM 3.2.x branch
Java
28
star
22

cdi

MyBatis CDI Extension
Java
25
star
23

thymeleaf-scripting

Thymeleaf scripting plugin for MyBatis
Java
23
star
24

migrations-maven-plugin

Maven plugin for the MyBatis Migrations tool
Java
22
star
25

hazelcast-cache

MyBatis Hazelcast adapter
Java
21
star
26

mybatis.github.io

MyBatis public site
HTML
19
star
27

caffeine-cache

MyBatis cache adapter for Caffeine
Java
7
star
28

oscache-cache

OSCache support for MyBatis Cache
Java
7
star
29

typehandlers-threeten-extra

MyBatis type handlers for ThreeTen Extra (http://www.threeten.org/threeten-extra/)
Java
6
star
30

logo

MyBatis logo
5
star
31

base-bundle-descriptor

A maven-assembly-plugin descriptor to create binary distributions for all MyBatis modules
4
star
32

couchbase-cache

Couchbase cache adapter for MyBatis 3
Java
3
star
33

projects-aggregator

The pom for aggregator of mybatis projects
3
star
34

old-google-code-issues

Automatically exported from code.google.com/p/mybatis
2
star
35

committers-stuff

Resources for committers, like docs, instructions and so
2
star
36

mybatis-bom

MyBatis Bill of Materials
1
star