// Code from the business operation:
public Object OnMessage(Object request) throws Exception {
SimpleObject myObj = new SimpleObject("my string");
Adapter.invoke("passObj", myObj);
return null;
}
// Code from the associated adapter:
public Object passObj(SimpleObject obj) {
System.out.print("\r\n[Java]Object received: " + obj.value);
return null;
}