Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29997

Re: JSON RPC

Newsgroups comp.lang.java.programmer
Date 2014-09-16 05:07 -0700
References <9710e6ab-4c9c-4cfa-8574-f5040e37cd53@googlegroups.com> <54178a93$0$300$14726298@news.sunsite.dk> <mcmurtrie-76A48F.21561115092014@news.sonic.net>
Message-ID <3b7cb074-2bc6-4e09-af5c-13eca88820c1@googlegroups.com> (permalink)
Subject Re: JSON RPC
From Ed Judge <ejudgie@gmail.com>

Show all headers | View raw


Do these suggestions _easily_ integrate into an RPC mechanism?  The ones I saw include:

jsonrpc4j
json-rpc
java-json-rpc
lib-json-rpc
simplejsonrpc
gson-rmi

On the client side I am using "Go".  On the server side I want to use Java.  
To give you an idea of what I am looking for and have found for Go:

http://jan.newmarch.name/go/rpc/chapter-rpc.html

This provides a nice easy concrete example of how to make use of JSON RPC.  That is all I am looking for from Java.  Kind of like "Hello world" example but for JSON RPC.

-Ed

On Tuesday, September 16, 2014 12:56:33 AM UTC-4, Kevin McMurtrie wrote:
> In article <54178a93$0$300$14726298@news.sunsite.dk>,
> 
>  Arne Vajhøj <arne@vajhoej.dk> wrote:
> 
> 
> 
> > On 9/15/2014 8:48 PM, Ed Judge wrote:
> 
> > > Looking for a good tutorial/coding examples on writing a JSON RPC
> 
> > > server in Java. There seems to be a couple of different options but
> 
> > > none that I have seen provide a concrete working example (there is
> 
> > > always something that is missing).  Can anyone suggestion good
> 
> > > webpage?  I don't care what package I use at this point.  Something
> 
> > > that is easy an simple to get running would be greatly appreciated.
> 
> > 
> 
> > You should use something JAX-RS compliant.
> 
> > 
> 
> > Maybe that already ships with your server.
> 
> > 
> 
> > If not then get either RESTEasy for Jersey.
> 
> > 
> 
> > There must be hundreds examples of creating JAX-RS services
> 
> > in the internet.
> 
> > 
> 
> > A few:
> 
> > http://docs.oracle.com/javaee/7/tutorial/doc/jaxrs.htm
> 
> > http://www.vogella.com/tutorials/REST/article.html
> 
> > http://www.mkyong.com/tutorials/jax-rs-tutorials/
> 
> > http://howtodoinjava.com/restful-web-service/
> 
> > 
> 
> > Arne
> 
> 
> 
> Also Jackson JSON and Google GSON for adding modular JSON object mapping 
> 
> and manipulation to existing applications.  I like Jackson's 
> 
> performance-tuned APIs for streaming and translating between different 
> 
> object mappings.
> 
> 
> 
> -- 
> 
> I will not see posts from astraweb, theremailer, dizum, or google
> 
> because they host Usenet flooders.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JSON RPC Ed Judge <ejudgie@gmail.com> - 2014-09-15 17:48 -0700
  Re: JSON RPC Arne Vajhøj <arne@vajhoej.dk> - 2014-09-15 20:55 -0400
    Re: JSON RPC Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-09-15 21:56 -0700
      Re: JSON RPC Ed Judge <ejudgie@gmail.com> - 2014-09-16 05:07 -0700
        Re: JSON RPC Arne Vajhøj <arne@vajhoej.dk> - 2014-09-16 19:15 -0400

csiph-web