Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
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. |