Sample Program—Restaurant
To demonstrate the use of entity beans in applications, you will work on the restaurant application that you built over the past two days. In the restaurant application you built the waiter and chef as stateful and stateless session beans based on how they will be used from a business perspective. Just to recap the work flow of the restaurant application, the customer selects a menu item and places the order. The waiter serves the customer. The waiter bean in turn delegates the order processing to the chef bean. In order to process the order and cook the ordered item, the chef needs to look up the processing details for the ordered item, including its ingredients, serving size, and so on, from the database. Previously, ...
Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.