Yeah I think you should avoid java serialization. You can try Json serialization wth something like jackson. it's much safer
Julien On Tue, Apr 23, 2013 at 5:40 PM, Emmanuel Lécharny <[email protected]>wrote: > Le 4/23/13 4:39 PM, Alexander Christian a écrit : > > Hmm, no answer yet. So I have to investigate myself :-( > > > > Here's what I found out so far: > > > > 1) Simple classes with primitive instance variables are not a problem > > for MINA. Works just fine. > > 2) Classes with objects don't work. > You may have classloader issues. > > The pb when you transfer Objects over the wire, you have no way to know > which version of the JVM you have on the other end (you may have various > versions of dalvik on the remote phones). > > As the getObject() method heavily depend on the classLoader, it's likely > to fail. > > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > >
