Mark, Thanks for your lightning fast response.
I've been living over in GWT land for the last year or so, so I guess I've gotten spoiled. GWT's whole "object<->internet<->object" magic has really taken me out of the transport game! I kinda got the feeling that there were no real native packages that would run the mapping/ serialization/deseriazlition for me. Do you have any experience/ recommendation with any of the available libraries that do the mapping automatically? I'm wondering if XStream, Json-lib Jackson JSON would work in a compatible and performance-acceptable manner. I know I sound like a baby and should just suck it up and write it myself, but I'm trying to integrate my system in with a number of existing POJOs and it would be VERY time consuming to have to write the transporters for each one. Thanks for your help! Evan On May 25, 12:57 pm, Mark Murphy <[email protected]> wrote: > Evan Ruff wrote: > > Further clouding the matter is the different > > Android SDKs out there that seem to have different levels of support > > for each. > > No, they have stayed fairly consistent since Android 1.0 last fall. You > have three XML parsing options (DOM, SAX, and XmlPullParser) but no XML > encoding options. JSON (org.json.*) lets you generate and parse. > > However, neither work directly with POJOs, any more than they do outside > of Android. In either case, you need to serialize/deserialize your POJOs > to/from XML or JSON constructs. > > You, of course, are not limited to these. For example, I've used > Thrift's serialize/deserialize code, even if I skipped their RPC layer > in favor of simpler HTTP REST-ish operations. > > You have not inquired about HTTP, but there is the standard > HttpUrlConnection, along with Apache's HTTPClient. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

