Re: Which data format for end-to-end application
Robin Chaddock <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
"Just as easy as on J2EE/J2SE" is a slight exaggeration of j2mepolish's RMI support. CLDC by it's very nature lacks the necessary reflection & class loader capabilities to allow true Serialization & RMI. On the other hand CDC with the optional RMI package extensions does fulfill your 'just as easy as....' claim. Robert Virkus wrote: > 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". ________________________________________________________________________ E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which I-play, a trading name of Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. (C) 2005. I-play is a trademark and trading name of Digital Bridges Limited. All Rights Reserved. ________________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp =========================================================================== 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".