posted 20 years ago
The primary key type must be a legal Value Type in RMI-IIOP. My understanding is that a primitive is such a legal value.
Furthermore, you only need a (Serializable) primary key class where the primary key maps to multiple fields in the entity bean class. If you always had to have a primary key class, you would be compelled to convert a single key field into an object by wrapping it in your primary key class.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3