13.1 Plants by WebSphere sample application
Plants by WebSphere is an Internet storefront that specializes in the sale of plants and gardening tools. This Sample application uses many of the J2EE and WAS functions, including enterprise beans, servlets, and JSP technology.
Using the Plants by WebSphere storefront, customers can open accounts, browse for items to purchase, view product details, and place orders. The Plants by WebSphere application uses container-managed persistence (CMP), container-managed relationships (CMR), stateless session beans, a stateful session bean, JSP pages, and servlets.
We will not go into details on how Plants by WebSphere application works. For more detailed information, refer to the WebSphere Information Center. If you have installed the sample applications on your system, you can also find information at:
http://localhost:9080/WSsamplesWhen Plants by WebSphere is installed and configured properly, it can be invoked at:
http://localhost:9080/PlantsByWebSphereThe Plants by WebSphere EAR file consists of the modules show in Figure 13-1.
Figure 13-1 Plants By WebSphere modules
The Plants by WebSphere EAR file has one EJB module, and two Web modules. The PlantsByWebSphereWEB is the Web module where the servlets, JSPs, and images are kept. The PlantsGalleryWEB module contains documentation for the sample, but no executables or Java code.