Day 11. Creating Stateless Session Beans

Yesterday, you gained an understanding of Enterprise JavaBeans (EJBs) and studied the first type of EJB, the stateful session bean. Yesterday's lesson also covered concepts such as components of a stateful session bean, the stateful session bean life cycle, and steps involved in building and deploying stateful session beans. You wrote a sample application that modeled the functions and activities in a restaurant with the customer, waiter, and chef as the primary actors. This example made you aware of how real-life entities can be easily modeled into EJBs and helped you identify the EJB to which these entities are mapped based on their activities (whether state maintenance is required or not required, and so on).

Today you will be looking at the other type of session EJB, the stateless session bean. You will be covering concepts such as the life cycle of stateless session beans, their components, and so on. Also, you will be converting the chef classes of the restaurant application from yesterday into a stateless session bean. In addition to this, you will be covering concepts about accessing a stateless session bean from a CORBA or RMI client. The final part of the day will be devoted to building the transactional parts of the MVC Airline Ticket Booking System application as stateful and stateless session beans.



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net