• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginning EJB 3 Application Development: From Novice to Professional - Errata

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a minor typo in the Chapter2 Section "Callback Methods". This section mentions:

In the case of the SearchFacadesession bean, we could add a PostConstruct callback method (destroyWineList()) into the SearchFacadebean, which would clear the country wine list whenever the bean gets destroyed. Ideally, during PostContruct, we would close any resources that have been created with dependency injection; but in this chapter, we will just clear the HashMap that has the countries and wine list.
Listing 2-7 shows the destroyWineList()code.


Listing 2-7.The PreDestroy Method

@PreDestroy
public void destroyWineList()
{
countryMap.clear();
}


Should have been:



Is there any place where i can submit this errata?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any place where i can submit this errata?


Oops, should have seen it while downloading the sample chapter. It was on the same page:

Submit Errata
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talking about errata, there's "PostContruct callbacks" page 37, which should be "PostConstruct callbacks".
 
Raghu Kodali
author
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the feeback, please do submit errata at
http://apress.com/book/errataSubmit.html?bID=10129

-raghu
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Done
 
Venkat Sidh
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Beginning EJB 3 Application Development: From Novice to Professional the first book released for EJB 3 or any other book available in market?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic