at the recent gwt meetup at the google plex quite a bit of discussion around where RPC is going took place in the sidebars.
-- in my own projects, working on a database backend, I accidentally got sidetracked building a websocket wire protocol based loosely on staying freindly to autbobeans but defining my interfaces in proto IDL. the result is finally able to stand up, if a bit wobbly:
Prautobeans! https://github.com/jnorthrup/prautobeans
at the meetup we saw some action items on bringing ByteBuffers with typedarray support into gwt v.next and doing proof of concept on a project similar in spirit: https://github.com/niloc132/drunken-wallhack (aka gwt3beans)
news that gwt 2.7 is lacking in jdk 8 support is dissapointing, it might mean i have to port the code from jdk8 to jdk7 to support in-gwt bytebuffers, but otherwise this stands to be a reasonably symetrical codebase for rpc and defining websocket messages going forward.
please fork this and don't hesitate to look me up if rpc is giving you grief and you are looking for help or collaboration in getting websocket solutions into a gwt solution!
protbeans project manifesto below
prautobeans
this project was written with the following goals in mind
- enable an alternative autobeans marshalling and proxy codebase
- on serverside
- use a jdk8 baseline
- soon gwt 2.7 client, with bytebuffers
- on serverside
- marshal a binary encoding
- that packs element sizes into bytes, or 32-bit ints when >254, and someday never, longs
- that packs booleans into bits,
- that packs nulls into bits (or adds one bit to non-null nullables)
- that packs a DAG of proto defined objects
- DirectByteBuffer compatibility for zero-copy IO, existing proto based generators rely on heap based byte[]
- use maven to generate src/main/proto into the above autobeans and marshalling proxies
- heap-averse and compact code, c-like, suitable for a c++ interop port in the near-term
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment