Sample Program: Restaurant

The stateless session bean builds on the restaurant example application that you developed yesterday. In that example, you built the Waiter as a stateful session bean associated with a Customer client application. The ChefImpl class was built as a normal Java class that implemented the interface ChefInterface. Today you will revamp the chef classes from the restaurant application and develop them as a stateless session bean. This is because, in the requirements, you defined that the waiters could forward customer orders or selections to any of the available chefs for processing (cooking) and could retrieve the cooked items from the chefs. This represents a classical case of stateless session bean behavior. The rest ...

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.