Re: Which data format for end-to-end application

Robert Virkus <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Hi,

Talking about serialization - you could also consider using RMI for  
the client-server communication. Just as easy as on J2EE/J2SE:

http://www.j2mepolish.org/docs/rmi.html

http://www.j2mepolish.org/mobile/j2mepolish-2.0-Preview.jar

You can exchange any objects implementing Serializable or  
Externalizable as well as most java.util Objects like Vector, Stack  
and of course also Images as well as all primitives.

Best,
   Robert

On Sep 24, 2007, at 21:27 , [email protected] wrote:

> There is a small XML parser called NanoXML which is very  
> lightweight, but in the end you are still taking java to XML and back.
>
> Another option if you want really small and can live with a few  
> limitations, look at MDO.dev.java.net, that is project I have built  
> to transport DataObjects from a JavaEE server to ME devices, and  
> used to save the records in the RMS as well.   It's a simple object  
> data serialization that is a bit more work but more resilient to  
> the serialization version issue/bug.
>
> Json is nice but still uses a lot of bandwidth, not to mention the  
> size of the extra libraries to parse it.
>
> -Shawn
> [Message sent by forum member 'sfitzjava' (sfitzjava)]
>
> http://forums.java.net/jive/thread.jspa?messageID=236838
>
> ====================================================================== 
> =====
> To unsubscribe, send email to [email protected] and include in  
> the body
> of the message "signoff KVM-INTEREST".  For general help, send  
> email to
> [email protected] and include in the body of the message "help".

--
Robert Virkus
CEO Enough Software
Sögestr. 70
28195 Bremen
Germany

Email: [email protected]
Phone: +49 - (0)421 - 8409 938
Fax: +49 - (0)421 - 9889 132
Mobile: +49 - (0)160 - 7788 203
ICQ: 194752667

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.