Nov

15

Java Pet Store 2.0 Reference Application, Early Access

Posted by admin under technology

The Java Pet Store 2.0 Reference Application is a sample application brought to you by the Java BluePrints program at Sun Microsystems. This application is designed to illustrate how the Java EE 5 Platform can be used to develop an AJAX-enabled Web 2.0 application. The application comes with full source-code available under a  BSD-style license, so you can experiment with it and use it in your own applications.

The Java Pet Store 2.0 is the reference application for building AJAX web applications on Java EE 5. It illustrates BluePrints for using AJAX with Java, building AJAX-enabled JSF component libraries, using Java Persistence APIs, applying MVC and other design patterns in an AJAX web app, using Mashups such as Google Maps service for location specific searches of pets and PayPal service for purchases, using an RSS feed as a data  source, and lots more.

Download and Use the Pet Store Demo
Learn more about features in Java Pet Store
See the release notes for more detail
Use NetBeans IDE with Java Pet Store
Check out the FAQ for common questions
Show appreciation for Pet Store image contributors
About BluePrints
Download and Use the Pet Store Demo
You can download the Java Petstore Demo and try out the features. You can browse the catalog of pets for sale, sell your own pets on the store, search for pets by location using Google maps, view the RSS news bar for BluePrints news, and more. All the source code is included.
Learn More About Features in Java Petstore

Here are some of the features of this application:

1. Using AJAX for single-page interactive Web applications: The application is designed to be a single-page application where the user never leaves the page. Different sections of the page are dynamically loaded based on the user actions. These sections are loaded asynchronously to avoid any browser refreshes, and to give a richer interactive user-experience.
2. Mash-ups with Google maps: The petstore uses a mashup with Google’s Map service, alongwith Yahoo’s Geo-coder service to allow users to see the available pets in a neighborhood.
3. Community-created content: The application allows a user to add a pet for sale or adoption on the Website. The seller uploads
1. Using Captchas to discourage spam in the community created content: Whenever a website allows its users to add content, it needs to build mechanisms to discourage placement of spurious content on its Website through automated mechanisms. We demonstrate how captchas can be used for this purpose.
2. Community rated content: Each item in the petstore website can be rated by the users
3. Payments through PayPal: The application provides a meeting ground for buyers and sellers of pets. The application uses the PayPal service to allow sellers to accept payments.
4. Integration of an RSS feed: The website integrates an RSS feed of news items coming out the Java BluePrints website. The
5. Integration of a search engine: The application integrates Apache Lucene search engine to handle all website searches.

This application also demonstrate the use of various features of the Java EE 5 platform such as:

1. JavaServer Faces: Many of the AJAX features are implemented as reusable JavaServer Faces components.
2. Java Persistence API: The application uses Java Persistence APIs to create an object/relational mapping layer.
3. Dependency Injection: The application uses dependency injection instead of deployment descriptors.

See the Pet Store Architecure document for more detail. Also see the various blogs and news under Java BluePrints Announcements on the petstore for some technical insights.
Use the Java Pet Store in NetBeans
The Java Pet Store 2.0 is NetBeans-ready! Just open the petstore as a project in Netbeans and build and deploy it. Or if you think of feature you would like to add to the Pet Store code? Use NetBeans Java EE 5 features and make a better Java Pet Store. You can check out the Java Pet Store page for NetBeans users for more detail.
Show Appreciation for Pet Store Image Contributors

For many images in the Java Petstore, some organizations and people were kind enough to give us permission to photograph their animals or even give us photos to use in the Java Petstore. See the image contributors page for a more detail on these friends of the animals.
About Java BluePrints

The Java BluePrints program defines the application programming model for the Java EEâ„¢ platform. It provides best practice guidelines and architectural recommendations for real-world application scenarios to enable developers to build portable, scalable, and robust applications using the Java EE technologies.

Some other popular projects from Java BluePrints are Java BluePrints Solutions Catalog, Java Adventure Builder Reference application, Designing Web Services with the J2EE(TM) 1.4 Platform : JAX-RPC, SOAP, and XML Technologies book, and the Designing Enterprise Applications with the J2EE Platform, Second Edition book. You can access these projects and other content from Java BluePrints by visiting the Java BluePrints website.

Tags: , , ,

5 Comments so far

  1. Pet » Java Pet Store 2.0 Reference Application, Early Access Says:

    [...] admin wrote an interesting post today on Java Pet Store 2.0 Reference Application, Early AccessHere’s a quick excerptShow appreciation for Pet Store image contributors About BluePrints Download and Use the Pet Store Demo You can download the Java Petstore Demo and try out the features. You can browse the catalog of pets for sale, sell your own pets on … [...]

  2. insurance » Java Pet Store 2.0 Reference Application, Early Access Says:

    [...] admin wrote an interesting post today on Java Pet Store 2.0 Reference Application, Early AccessHere’s a quick excerptThe Java Pet Store 2.0 Reference Application is a sample application brought to you by the Java BluePrints program at Sun Microsystems. This application is designed to illustrate how the Java EE 5 Platform can be used to develop an … [...]

  3. Pet Store » Java Pet Store 2.0 Reference Application, Early Access Says:

    [...] admin wrote an interesting post today on Java Pet Store 2.0 Reference Application, Early AccessHere’s a quick excerptThe Java Pet Store 2.0 Reference Application is a sample application brought to you by the Java BluePrints program at Sun Microsystems. This application is designed to illustrate how the Java EE 5 Platform can be used to develop an … [...]

  4. Pet Adoption » Java Pet Store 2.0 Reference Application, Early Access Says:

    [...] admin wrote an interesting post today on Java Pet Store 2.0 Reference Application, Early AccessHere’s a quick excerptCommunity-created content: The application allows a user to add a pet for sale or adoption on the Website. The seller uploads 1. Using Captchas to discourage spam in the community created content: Whenever a website allows its users to … [...]

  5. dashda » Blog Archiv » Java Pet Store 2.0 Reference Application, Early Access Says:

    [...] the full story here Der Beitrag wurde am Thursday, den 15. November 2007 um 19:38 Uhr veröffentlicht und wurde [...]

Leave your comment

LinkWorth | Search Engine Marketing - Text Link Advertising PerformancingAds