Petstore using Java EE 6 ? Almost!
- by arungupta
Antonio Goncalves, a Java Champion, JUG leader, and a well-known author, has started building a Petstore-like application using Java EE 6. The complete end-to-end sample application will build a eCommerce website and follows the Java EE 6 design principles of simple and easy-to-use to its core. Its using several technologies from the platform such as JPA 2.0, CDI 1.0, Bean Validation 1.0, EJB Lite 3.1, JSF 2.0, and JAX-RS 1.1.
The two goals of the project are:
• use Java EE 6 and just Java EE 6 : no external framework or dependency
• make it simple : no complex business algorithm
The application works with GlassFish and JBoss today and there are plans to add support for TomEE.
Download the source code from github.com/agoncal/agoncal-application-petstore-ee6. And feel free to fork if you want to use a fancy toolkit as the front-end or show some nicer back-end integration.
Some other sources of similar end-to-end applications are:
• Java EE 6 Tutorial
• Java EE 6 Galleria
• Java EE 6 Hands-on Lab