MS Visio file with this diagram
<app>> admin: Administration application. Corresponds to a Java rich client application that is launched via Java Web Start. It allows an administrator user to review and modify orders submitted by Pet Store clients.
<app>> opc: Order Processing Center. It consists of server-side components that asynchronously receive and process orders submitted byusers through <
<app>> petstore.
<app>petstore: ecommerce application. It is a web application that allows Internet users to register, browse the catalog and place oders for pets. It is also referred to as the Storefront. A refinement view is available.
<app>> supplier: Supplier dispatching center.
<app>petstore to manipulate events, user actions and application controllers. Refinement view available
Back to the Pet Store SAD main page
None
According to Sun's documentation. The Web Application Framework (waf) and the Components are intended to be a layer below <
<app>> petstore:
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/images/sample-app1.3.1a.gif
Sample Application Design. Figure 11.
Nevertheless this is not what happens in the code. <
<app>> petstore does uses and extends J2EE classes (like the HttpSessionListener in the PetstoreComponentManager) and the EJB interfaces in the ShoppingClientFacadeLocalEJB. Additionally <
<app>> petstore uses plenty of Java standard classes directly.
From Sun's documentation we get another diagram to analyze:
Source: Figure 11.6 Functional Modules for the Sample Application Web Site.
This figure is difficult to understand. If the rounded boxes are modules, how does the Site Home Page work with them? Does the user interact with the User Interface but not the Site Home Page? Is the user considered a module? What do the arrow mean? What does the square box mean and what are its contents? Besides this observations, the code maps only partially does not seem to map the modules: Product catalog, Sign On, Customer and Order Message are only some of the components in the application (actually there are more incorrections in this figure that will be dealt with in the Runtime view and the Data Model view).
Back to the Pet Store SAD main page