• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Use of finalize methods in WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of finalize methods in WO


  • Subject: Re: Use of finalize methods in WO
  • From: Nilton Lessa <email@hidden>
  • Date: Thu, 21 Aug 2008 20:42:03 -0300

Thank you everybody for all the information and references.

At least, we will try to have some fun answering this report.

Bests regards, thanks again.


\o/ Nilton Lessa, Moleque de Idéias Educação e Tecnologia Ltda | Phone: 55-21-2710-0178 E-mail: email@hidden / \ http://www.moleque.com.br


On 21/08/2008, at 16:21, Mike Schrag wrote:

FWIW, Joshua Bloch argues against finalize in Item 7 of his "Effective Java" book. It might be worth reading to know what the arguments are, even if the consultants are making a bogus argument in this case.
Sure, but in the case of WO, all the finalizers are perfectly legit. Of the three instances in WO proper where finalizers are even defined, the only one that actually matters at all is EC's, and if you're totally against finalizers running to clean things up, simply .dispose() your EC's manually, which is essentially all its finalizer does anyway (which also corresponds to Bloch's advice as well).

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Use of finalize methods in WO
      • From: "Scott Peterson" <email@hidden>
References: 
 >Use of finalize methods in WO (From: Nilton Lessa <email@hidden>)
 >Re: Use of finalize methods in WO (From: John Baldwin <email@hidden>)
 >Re: Use of finalize methods in WO (From: Mike Schrag <email@hidden>)

  • Prev by Date: WebObjects Training, Registration Still Open (Seattle September 8-12, 2008)
  • Next by Date: Re: Use of finalize methods in WO
  • Previous by thread: Re: Use of finalize methods in WO
  • Next by thread: Re: Use of finalize methods in WO
  • Index(es):
    • Date
    • Thread