File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes HFEJB doubt  on Page 318? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "HFEJB doubt  on Page 318?" Watch "HFEJB doubt  on Page 318?" New topic
Author

HFEJB doubt on Page 318?

Hai Lin
Ranch Hand

Joined: May 23, 2004
Posts: 79
Hi All,
On page 318 of HFEJB, the example CustomerBeanCMP seems lack of ejbPostCreate(...). So the example is wrong?
Based on what the book said on Page 312, we must match each create() with two methods: ejbCreate() and ejbPostCreate().

Anyone could confirm my doubt?

Thanks.

Hai
Sajeev Paul
Greenhorn

Joined: Apr 05, 2004
Posts: 3
Can you send me that example, plz.

Looks you have good understanding abt. ejbCreate() and ejbPostCreate() methods. What you are sating is right for EntityBeans.

Good Luck .......



Regards<br />Sajeev Paul
Lionel Orellana
Ranch Hand

Joined: Mar 19, 2004
Posts: 87
I was just going to ask the exact same question ... it is supposed to be the COMPLETE code for the CustomerBeanCMP, however the postcreate method is missing ... from previous pages in the book it looks like you MUST have the postcreate method but this makes me wonder if you simply CAN have it ... hopefuly someone will come up and clarify this ...

cheers
Lionel Orellana
Ranch Hand

Joined: Mar 19, 2004
Posts: 87
I found this

It is an error in the book ..
 
 
subject: HFEJB doubt on Page 318?
 
Similar Threads
Doubt in EL
doubt
ejbPostCreate()
Chapter 6 - HF study group
HFEJB doubt in Question (EntityBean's ejbCreate() )