Day 6. Developing Stateful Session Beans

Today you'll learn how to develop applications that maintain the conversational state on behalf of the client. You'll work on a complete example of developing a stateful session bean.

The sample university registration application enables students to browse the online course catalog. While browsing the catalog, the student can select the course(s) she likes and place them in a temporary enrollment cart. The student can view or delete courses from the cart, and may later decide to place an order for the cart contents.

EnrollmentCart represents a collection of courses selected by a student in a particular session. The cart should not be shared, because it represents a particular interaction with a particular ...

Get Sams Teach Yourself EJB 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.