This chapter examined the process for selecting a business-tier architecture and constructing the business- tier components for the bigrez.com example application. Important business-tier requirements were identified, candidate architectures were outlined and mapped against the requirements, and a specific architecture was chosen for the example application. The chosen architecture combined the encapsulation benefits of a stateless service-based architecture with direct manipulation of container-managed entity beans to eliminate significant design and coding complexity in the services.
Three possible EJB construction techniques were then examined and the EJBGen tool selected for our effort. The required entity bean and stateless session bean components for the bigrez.com application were identified, and key components were examined in detail to illustrate the use of EJBGen to construct interface files and deployment descriptors.
In the next chapter, we ll discuss packaging and deploying this application using WebLogic Server-specific tools and techniques.