Entity Bean Files

Like other enterprise beans, an entity bean consists of a home interface, component interface, enterprise bean class, and deployment descriptor. In addition, an entity bean can have a primary key class.

In most cases, your primary key class will be a String or an Integer, which belong to J2SE standard libraries. For example, the primary key class for StudentEJB is studentId, which is a String.

For some entity beans, you must define your own primary key class. For example, if your primary key is composed of multiple fields (a composite primary key), you must define your own primary key class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.88.62