The latter... It works rather well for JavaScript in web browsers. I think that is the most interesting "mobile code" platform to review as a starting point.
On Sat, Feb 4, 2017 at 2:54 PM, "Michał Kłeczek (XPro Sp. z o. o.)" < michal.klec...@xpro.biz> wrote: > Are you opposing the whole idea of sending data and code (or instructions > how to download it) bundled together? (the spec) > Or just the way how it is done in Java today. (the impl) > > If it is the first - we are in an absolute disagreement. > If the second - I agree wholeheartedly. > > Thanks, > Michal > > Niclas Hedhman wrote: > >> FYI in case you didn't know; Jackson ObjectMapper takes a POJO structure >> and creates a (for instance) JSON document, or the other way around. It is >> not meant for "any object to binary and back". >> My point was, Java Serialization (and by extension JERI) has a scope that >> is possibly wrongly defined in the first place. More constraints back then >> might have been a good thing... >> >> >> > -- Niclas Hedhman, Software Developer http://polygene.apache.org <http://zest.apache.org> - New Energy for Java