XX Framework‎ > ‎

XX Pet Store



The XX Pet Store is an implementation of Sun’s Java Pet Store reference.


The Java pet store pet store has been used for the past several years as a reference implementation for many architecture and platforms, including Microsoft .net.

The XX Pet Store is a sample implementation of the Java pet store using the XX Framework. The original idea was taken from the Better Petshop project. The Better Petshop project implements the pet store using Hibernate, Tapestry, and Spring. The XX pet store is based on the better Petshop project, with some of the early sample classes based on this open source project. The final XX version is greatly simplified with much fewer Java classes.

Version 1.0 of the XX Pet Store uses a modified implementation of the better Petshop Tapestry presentation layer.

Version 1.1 of the XX Pet Store replaces this table based presentation with a fully CSS based approach.

Version 2.0 of the XX Pet Store incorporates SpringMVC.

As is the goal of the XX framework, the XX Pet Store’s automation allows implementation of the Java Pet Store functionality with only three Java functions. The additional coding was necessary where combined CRUD operations were needed, such as emptying a shopping cart after an order or modifying remaining quantities. In addition, some custom session based security needed to be implemented, as XX security is currently user based. Future versions of the XX Framework will provide this type of functionality.

Download: The source

There'll come a time when all of this is over
Something else will grow and take it's place
The brand new car: scrap metal in a junkyard
The children playing will grow up and leave home
Put it away this dream you can't stop dreaming
Put it away this anger and desire
The open road is infinitely hopeful
Take all those memories and throw them in the fire

-Marillion

Another sleepless night
A concrete paradise
Sirens screaming in the heat
Neon cuts the eye
As the jester sighs
At the world beneath his feet

It's a gutter ballet
Just a menagerie
Still the orchestra plays
On a dark and lonely night
To a distant fading light

-Savatage


Stay
Here where dreams tend to stray
Here you're safe
when the night fades away

-Savatage