Hello,
       I understand that mina provides a framework to allow the client,
server communicate through java objects by using the protocol codec factory,
encoder & decoder.
Since the IoBuffer provides methods to get primitive objects like int,
string, double etc, how can we pass java collection objects like map. For
e.g. below is my pojo class which has to be encoded & decoded.

class MyClass {
        private String name;
        private Map<String, Integer> nameVsIdMap;
        private Map<String, List<Integer>> nameVsNumbers;

        .....
}

Any help would be appreciated.

Thanks,
Amit.

Reply via email to