Overview
- Home
- Specifications
- xPetstore-EJB
- xPetstore-Servlet
- Source Code
- Metrics
- ToDo
Project
- Mailing Lists
- Source Repository
- Issue Tracking
- Project Team
- References
Installation
- Download
- Configuring JBoss 3.0.x
- Configuring WebLogic 7.x
- Configuring Orion 2.x
- Configuring Tomcat 4.x
- Running xPetstore
|
Use Cases
|
When the customer enters into the xPetStore web site, he can:
- Sign into the site
- Sign off from the site
- Browses the catalog
- Updates its shopping cart
- Places its order. Then he will receive an email notification
- Manages its account
|
|
Page Flow Navigation
|
|
|
Implementations
|
xPetstore will provide 2 implementations:
The EJB implementation:
The business layer is implemented with:
- EntityBean and CMP 2.0 for business objects
- a SessionBean to manages the application logic
- MessageDriverBean for asynchronous processing (sending email, processing customer orders)
The web layer is implemented using the Model-View-Controller design pattern:
-
The View implemeented with JSP and Sitemesh
-
The Model and Controller implemented with Struts.
The Servlet implementation:
The business layer is implemented with Plain JavaBean Object
using Hibernate as persistence framework.
The web layers is implemented using the Model-View-Controller design pattern:
-
The View implemeented with Velocity and
Sitemesh
-
The Model and Controller implemented with Webwork.
All the business logic is implemented at this level.
|
|
|