GWizard RPC

32 views
Skip to first unread message

Jeff Schnitzer

unread,
Feb 17, 2015, 8:00:35 PM2/17/15
to gwi...@googlegroups.com
I just added a *very* simple RPC stack to GWizard:


It's something I use periodically for Java<->Java work because it massively cuts down the effort to pass complex object graphs compared to working with JSON. The underlying protocol is something I whipped up a few years ago:


It's almost comically simple; ~250 lines of code.  But it gets the job done and it works really well with Guice.

Cheers,
Jeff

Darren Bell

unread,
May 14, 2015, 11:38:33 AM5/14/15
to gwi...@googlegroups.com, je...@infohazard.org
This is neat. I wonder how difficult it would be to implement gRPC in GWizard?

Jeff Schnitzer

unread,
May 14, 2015, 1:08:27 PM5/14/15
to gwi...@googlegroups.com
No idea... grpc-java looks quite complex. Includes C++ components? 

If you need something cross-platform, I would take a hard look at Hessian. Or just use boring old REST/JSON. If you have the cyclic (or otherwise interlinked) object graph problem, take a look at this (another project that Jon and I built):


Jeff

--
You received this message because you are subscribed to the Google Groups "GWizard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwizard+u...@googlegroups.com.
To post to this group, send email to gwi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gwizard/652323dd-fdc5-4487-9f19-678190c1c1dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages