Sun worked hard to make serialization efficient -- not easy since it's
so intensely dependent on reflections, but they succeeded fairly
well. I suspect that Android hasn't invested nearly as much in making
reflections efficient.
On Feb 20, 1:26 am, Bob Kerns r...@acm.org wrote:
Actually, while
Actually, while I don't disagree with the advice Mark gave, he's not correct
about what Java serialization is designed for, nor is there any issue of
byte-code compatibility here, because Java serialization does not have
anything whatsoever to do with byte codes.
The Java serialization
Is HTTP REST a better option for communication between my android client
and server?
Yes, much better option.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
Hi Thanks for the reply. However, what about this part of my question:
*Will the android client*
*be able to demarshall the object? The reason I ask is that someone informed
me that android*
*does not use the java virtual machine and so and isn't byte-code compatible
at all.*
Thanks indeed.
On
The answer is; not necessarily.
It is best described here:
http://stackoverflow.com/questions/2917847/serialization-performance-and-google-android
In other words: Don't serialize.
Another reason is that it's relatively slow on Android. Use the Parcelable
interface instead.
--
You received
OTOH, I have to agree, that avoiding serialization as described in
your link is best. But if you really do need serialization, if you
really cannot get buy with Mark's idea of using the SQL database
instead, if even the Parcelable interface is not good enough for you,
then instead of using XML,
But how can it be an 'option' for communication. REST is only an
architecture, not a complete communications solution. REST alone
cannot solve a communications problem.
On Feb 18, 5:43 am, Streets Of Boston flyingdutc...@gmail.com wrote:
Is HTTP REST a better option for communication between my
7 matches
Mail list logo