1、- 1 - 外文原文 Introduction to Entity Beans In Chapters 36, you learned how to code session beansdistributed components that represent business processes. But session beans are only half of what Enterprise JavaBeans has to offer. One of the key benefits of EJB is the power to create entity beans. Entity
2、 beans are persistent objects that can be stored in permanent storage. This means you can model your businesss fundamental, underlying data as entity beans. Well see exactly what this means in the pages to come. In this chapter, well cover these topics: The basic concepts of persistence A definition
3、 of entity beans, from a programmers perspective The features that entity beans have to offer How entity beans compare with session beans Entity bean programming concepts Entity beans are an optional part of Enterprise JavaBeans 1.0. Even if your EJB container is compliant with EJB 1.0, the EJB cont
4、ainer may not be able to handle entity beans. If you need entity beans, make sure you choose a container capable of deploying them. EJB 1.1, which is part of Java 2 Platform, Enterprise Edition (J2EE), mandates entity bean support. This chapter is relatively theoretical, and it is meant to give you a deep foundation in entity bean programming concepts. For those of you with a traditional procedural programming background, entity beans can be a very tough topic to grasp. You may need to rer