aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes  Beginning EJB 3 Application Development: From Novice to Professional - Errata Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark " Beginning EJB 3 Application Development: From Novice to Professional - Errata " Watch " Beginning EJB 3 Application Development: From Novice to Professional - Errata " New topic
Author

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

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

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?


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

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

Joined: Nov 24, 2005
Posts: 14688
    
  16

Talking about errata, there's "PostContruct callbacks" page 37, which should be "PostConstruct callbacks".


[My Blog]
All roads lead to JavaRanch
Raghu Kodali
author
Greenhorn

Joined: Oct 05, 2006
Posts: 18
Thanks for the feeback, please do submit errata at
http://apress.com/book/errataSubmit.html?bID=10129

-raghu
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

Done
Venkat Sidh
Ranch Hand

Joined: Sep 30, 2006
Posts: 61
Is Beginning EJB 3 Application Development: From Novice to Professional the first book released for EJB 3 or any other book available in market?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Beginning EJB 3 Application Development: From Novice to Professional - Errata