Sun Java Solaris Communities My SDN Account Join SDN
 
Web Developer Resource Center: Samples
BluePrints Java Pet Store 2.0
Web Resource Center: Samples

The BluePrints Team
The Java BluePrints projects presents the programming model, guidelines and examples for designing enterprise quality applications and web services using Java technologies. Some of the areas covered are Ajax-enabled Web 2.0 applications, Persistence, JavaServer Faces, SOA with BPEL, and WS-Security. Current team members include Mark Basler, Sean Brydon, Smitha Kangath, Greg Murray, Inderjeet Singh and Yutaka Yoshida.

 

Sample, Applications, Components & Widgets

BluePrints Java Pet Store 2.0 - Click to Run It!BluePrints Java Pet Store 2.0
 
The Java Pet Store 2.0 is the reference application used for building other Ajax web applications utilizing the Java EE 5 platform. It illustrates BluePrints for using Ajax with Java, using Ajax enabled JSF component libraries, using Java Persistence APIs, applying the Model-View-Controller and other design patterns in an Ajax web application. Also, it demonstrates how to use Mashups such as Google Maps' service for location specific searches of pets, use the PayPal service for purchases, use a RSS feed as a data source and lots more.
 
The Java Pet Store 2.0 is above all a reference application. It is designed to illustrate how the Java EE 5 Platform can be utilized by developers to create a robust production worthy application that delivers cutting edge user experience. The application comes with full source-code available under a BSD-style license, so you can experiment with it and use its components in your own applications.
 
The Java Pet Store 2.0 Reference application showcases how the following technologies/methodologies can be utilized:
  • Ajax with Java EE technologies such as Servlets, Java Server Pages, and JavaServer Faces.
  • Java Persistence API used to build & maintain the domain model of the application.
  • Captchas to help ensure that the upload is being submitted by a human.
  • Dojo toolkit used as an Ajax framework, augmented with custom Javascript to statisify user-experience requirements.
  • Apache Lucene search engine used for quick search retrievals of indexed product information as well as user tagged products.
  • RSS feed accessed through the Rome libraries to demonstrate a server-side mashup.
  • Google Maps API used for product proximity to demonstrate a client-side mashup.
  • PayPal payment service used to purchase a products to demonstrate a delegated mashup.
  • Use of a Ajax enabled JavaServer Faces component library which is re-usable in your own applications. The component's source and build environment reside in the Java BluePrints Solutions Catalog for Java EE 5.
  • Numerous Java SE & EE features such as Annotations, Generics and Resource Injection.
    Run it!  |  Feedback  |  Download
 
BluePrints Java Pet Store 2.0 by The BluePrints Team