Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days
by Mandar S. Chitnis, Lakshmi Ananthamurthy, Pravin S. Tiwari
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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access