|
Mais sobre ressurei��o:
If you feel
you simply must bring an object back to life, consider cloning a new copy of the
object instead of resurrecting the same old object. The reasoning behind this
piece of advice is that garbage collectors in the JVM invoke the
finalize() method of an object only once. If that object is resurrected and becomes
available for garbage collection a second time, the object's finalize() method will not be invoked again. isso significa que seu objeto soh
morre uma vez... se vc ressucitar, ele viver� eternamente... nossa, parece
filosofia do Senhor dos An�is... :D bom... o lance eh q no proprio artigo, diz q
eh 150% aconselhavel nao usar essa tecnica de ressucitar... q realmente
existe... mas pra q ressucitar? jah falei os motivos... o q o artigo recomenda,
eh fazer um clone do objeto... assim, se um deles morrer, o otro ocupa seu
lugar
|
Title: Requisitos de hardware para o servidor de aplicacao J2EE
- RE: [enterprise-list] Ressurei��o de objetos francis . wagner
- Re: [enterprise-list] Ressurei??o de objet... Bruno Borges
- RE: [enterprise-list] Ressurei??o de o... Bruno Borges
- RE: [enterprise-list] Ressurei??o ... Luiz Cesar H. Kuriki
- [enterprise-list] Transa??o de... Luis Henrique Albinati Jr.
- Re: [enterprise-list] Ressurei??o de objet... Rodrigo B. de Oliveira
- RE: [enterprise-list] Ressurei??o de obje... sven
- Re: [enterprise-list] Ressurei??o de ... Bruno Borges
- Re: [enterprise-list] Ressurei??o de objet... Bruno Borges
- RE: [enterprise-list] Ressurei??o de objet... francis . wagner
