The Callback Interface
public boolean isActive() {
if (stub!=null) stub.init();
System.out.println ("SuperNetlet : onInit");
public void onRestore () {
System.out.println ("SuperNetlet : onRestore");
if (stub!=null) stub.start();
System.out.println ("SuperNetlet : onStart");
if (stub!=null) stub.stop();
System.out.println ("SuperNetlet : onStop");
if (stub!=null) stub.destroy();
public void onDestroy () {
System.out.println ("SuperNetlet : onDestroy");