7.4 Conclusion

This chapter presented the fundamental concepts of entity beans. In particular, it described the two views of entity beans: the client view both remote and local views and the bean developer view. The chapter described the techniques for managing the persistent state of entity beans: container-managed persistence and the EJB QL language, and bean-managed persistence. The chapter also described how the container manages the life cycle of an entity bean instance and how the bean developer can make optimal use of the container's management of object state and persistence. Finally, it described the EJB timer service and how to use it with entity beans.

The next chapter presents the same Benefits Enrollment example that was used earlier to illustrate session beans but this time is used as an application that uses entity beans. The example application illustrates all the concepts discussed in this chapter with "real-world" code. The application illustrates many of the techniques for using entity beans to develop and integrate applications for different customers with different environments.



Applying Enterprise Javabeans
Applying Enterprise JavaBeans(TM): Component-Based Development for the J2EE(TM) Platform
ISBN: 0201702673
EAN: 2147483647
Year: 2003
Pages: 110

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