April 2003
Intermediate to advanced
750 pages
16h 53m
English
In this section, we develop the customer and transaction record CMP entity beans.
Table 11-2 shows the attributes of the customer bean. To illustrate that an entity bean can have a local and a remote interface, we will implement both.
| Attribute | Type | Key field | Local interface | Remote interface |
|---|---|---|---|---|
| customerID | int | Yes | --- | -- |
| firstName | java.lang.String | No | Yes | Yes |
| lastName | java.lang.String | No | Yes | Yes |
| title | java.lang.String | No | Yes | Yes |
| userID | java.lang.String | No | Yes | Yes |
| password | java.lang.String | No | Yes | Yes |
| address | itso.bank5.beans.Address | No | Yes | Yes |
Notice the address attribute; it refers to a JavaBean that holds the detailed address information. We will map this attribute to ...
Read now
Unlock full access