The primary key defination delay to depolyment feature is introduced in EJB 1.1, and the websphere maybe just support EJB 1.0, so it demand you to decide your primary key in design time not in deployment time.英文不好,换中文说一遍:EJB1.1 允许保持不定义主键直到配置bean 为止,而EJB1.0 不支持此特性。Websphere 低版本很可能只支持 EJB 1.0,所以.....:)