Java Object destory

Hii everyone, I really need to destroy an object end of my program. But i dont know how to destroy a java object.. Editor editor = new Editor(); i want to destroy or kill this editor object end of my program. How it is possible??? Thanx in Advance, KalaiSelvan

Unlike C++, the JVM performs most of your memory management, including garbage collection. There is no need to explicitly free the heap memory taken by your objects.

Kalaiselvan Selvamani
Ranch Hand

Joined: Sep 10, 2001
Posts: 32

posted Jul 30, 2002 23:44:00

0

Because of my need is, I have created an entity bean. Here have did some db process. In this mean time some outside sources updates or deletes some of my table in my DB. But the reflection is not affected in my Entity Bean. That's y i need to know how to destory the entity bean explicitly in my program.. Is there any possibilites. Let me know. Thanx in Advance Kalaiselvan