Cleaning up client resources

The garbage collector thread of the Java virtual machine will clean up resources allocated in your client applet or application. No action is required on your part. However, when proxy object references are no longer needed, you can set them to null to expedite cleanup by the garbage collector.

The action of the client program has no direct effect on the cleanup of server-side resources. Server-side cleanup happens when the component is deactivated or destroyed. See “Component lifecycles” for more information.