← Back to team overview

mugle-dev team mailing list archive

Re: Proposal for Key/Value API changes

 

In terms of providing a rich API while keeping the code as simple for the
students as possible, i like the idea of keeping the existing code the same,
but have them pass the .class object, and then using browser side
reflection.


On Fri, May 27, 2011 at 9:57 PM, Matt Giuca <matt.giuca@xxxxxxxxx> wrote:

> Note: I tried to explicitly use java.io.Serializable on the client, but got
> errors in both the dev mode and compiler that key classes did not exist
> (such as ObjectOutputStream). I suppose it is pretty hard to write this code
> for JavaScript (well, to be precise, serialization is easy, but
> deserialization is extremely difficult, since you need to be very reflective
> and construct objects of arbitrary classes out of nothing).
>
> --
> Mailing list: https://launchpad.net/~mugle-dev
> Post to     : mugle-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mugle-dev
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References