Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Talking about errata, there's "PostContruct callbacks" page 37, which should be "PostConstruct callbacks".
 
author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Done
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic