Each entity bean can be discoveried or named by a primary key. My question is How to get primary key? I am planning to use a IDGenerator entity bean to generator a unique ID for each recode in the databases. What's the enterprise solution or pattern for this? Anyone can help to answer me ? Thanks!