In the Java EE 5 book, you will have to develop a web and a swing application that talk to an EJB 3 back end.
In this Flash animation, you’ll see how to use the Petstore web application. First It browses the catalog of pets, then logs a user on, who buys a few animals, adds them to my shopping cart, changes some quantities of the shopping cart and then checks out.
In this animation you can see the administration console. It is developed in Swing and used to create/modify/remove items of the catalog as well as having a view on customer and orders.