I have two different model class,
public class ModelDto implements IsSerializable{
public ModelDto {}
private Integer id;
private String name;
private ArrayList<Test> name;
}
public class Test implements IsSerializable{
public Test {}
private Integer id;
private String name;
private ArrayList<Test> name;
}
I want to make a RPC call like
ModelDto getModel();
How to achieve this? I know that the issue is basic serialization. but I want to know that how to pass a ArrayList in RPC If not posible any alternatives?.