srinivas k Thanks for joining JavaRanch. Unfortunately your name violates our naming policy. Please take a quick look at the rules and edit your profile accordingly. Thank you!
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
SAFROLE YUTANI
Ranch Hand
Joined: Jul 06, 2001
Posts: 257
posted
0
The main difference between these two methods with regards to CMP entity beans is that this method returns the primary key class in EJB 1.1, and it returns null in EJB2.0. For BMP, I believe there is no difference, they both return the primary key class. Raffi
John Chandra
Greenhorn
Joined: Jun 27, 2003
Posts: 10
posted
0
I don't thing ejbCreate() is different in ejb 1.1 and 2.0 This is what I found in specifications for entity beans (for both bmp & cmp): public PrimaryKeyClass ejbCreate<METHOD>(...); There are zero [13] or more ejbCreate<METHOD>(...) methods, whose signatures match the signatures of the create<METHOD>(...) methods of the entity bean’s home interface. The container invokes an ejbCreate<METHOD>(...) method on an entity bean instance when a client invokes