2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 @Override
public void close() throws RemoteException {
	// TODO Auto-generated method stub
	// TODO Auto-generated method stub
	logger.log(Level.INFO, "Hello World AppCode close called:" + sessionKey); 

	System.out.println("Hello World AppCode close called:" + sessionKey );

	sessionKey = null;

	}

Now before we start the implementation of the "read" and "write" methods we need to defined the define the data transfer class ( "HelloParameter") for carrying data and out of the AppCode and the Filter class ("HelloFilter")

Code Block

 public static class HelloParameter{
	public String id;
	public String name;
	}

public static class HelloFilter{
	public String key;

	}