Do you remember the good old Java Pet Store?

The Java Pet Store Demo is a sample application from the Java 2 Platform, Enterprise Edition ("J2EE") BluePrints Program at Java Software, Sun Microsystems. It demonstrates how to use the capabilities of the J2EE 1.3 platform to develop flexible, scalable, cross-platform enterprise applications.

The Java Pet Store Demo comes with full source code and documentation which illustrate the typical design decisions and tradeoffs a developer makes when building an enterprise application. The demo shows how to use JavaServer Pages ("JSP"), Java Servlet, Enterprise JavaBeans ("EJB"), and Java Message Service ("JMS") technologies. It also uses new technologies in the J2EE 1.3 platform, which you can experiment with and learn how to use in your own enterprise solutions.

Antonio Goncalves has provided another Pet Store-like application using Java EE 7 and all its goodies (CDI, EJB Lite, REST interface). It is based on his Java EE 5 book which he updated again so it uses some new features of Java EE 7 described on his Java EE 7 book.

Can be downloaded from GitHub at:

We're running 'Pet Store' on WildFly 10.0.0.Final from 2016

  • WildFly 10.0.0.Final (2016.01.29)
  • Java SE 7 (2011.07.07)
  • Java EE 7 (2013.04.28)

Show 'Pet Store' analysed by Checkstyle, Cobertura, PMD, SonarLint, SonarQube & Spotbugs

Atlassian Jira with 'Pet Store'

  • Jira is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management. (TODO:)