Features
 
 Tutorials
 
Case Studies 
    

The Pet Store

 

 

 

 

 

 

 

The Java Pet Store is a reference implementation of a distributed application according to the J2EE BluePrints maintained by Sun Microsystems.

The Java Pet Store was created by Sun to help developers and architects understand how to use and leverage J2EE technologies, and how J2EE platform components fit together.

Microsoft has implemented their own version (the .NET PetShop) with the same functionality and has published the comparisons.

To illustrate the power and simplicity of developing with nTegrator, the nTegrator technology team has replicated the functionality.

Functionality

It is an online store that sells pets from various suppliers. The customer has several ways to access the store: Browser, WAP phone, Web Service (SOAP). Regardless of type of access, the customer can use the following features:

  • Help – how to use the store
  • Browse
    • Look in various categories of pets
      Click to enlarge
    • Look at pets within a category (place in shopping cart to purchase)
    • Get detailed info on a particular pet
  • Checkout - customer wants to purchase contents of shopping cart
  • Provide billing and shipping info
  • Get confirmed order
  • Allow for backordered items
  • Pay for order
  • Order Information – customer can determine status of backordered items
  • Inventory
  • Accounting
 

Comparative Efficiency

This project was completed using nTegrator in 10 person days and the number of lines of code for the nTegrator solution was significantly less than both J2EE and .NET.

 
J2EE
.NET
nTegrator
User Interface
5891
1881
1680
Business Logic
5904
853
400
Database
412
684
78

Benchmarks for the Pet Shop demo developed by Sun, emulated by Microsoft, and then implemented using nTegrator, indicate that nTegrator offers significant savings in development effort:

  • for user interface, 11% fewer lines of code then .NET and 72% fewer than J2EE;
  • for business logic, 53% fewer lines of code than .NET and 93% less than J2EE;
  • for database processing, 89% fewer lines than .NET and 81% less than J2EE.

Fewer lines of code means faster, cheaper implementation!

 

"nTegrator by nBoundary" "Business without Boundaries"
Skip Navigation Links
Home
About nTegrator
Solutions
Benefits
Downloads
About nBoundary
Contact Us