• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

HFEJB doubt on Page 318?

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .......

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found this

It is an error in the book ..
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic