EJB規範的 2.0版將主鍵類定義成任何是 RMI-IIOP中合法值類型的類。
Version 2.0 of the EJB specification defines a primary key class as any class that is a legal value type in RMI-IIOP.