Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29994 > unrolled thread
| Started by | Ed Judge <ejudgie@gmail.com> |
|---|---|
| First post | 2014-09-15 17:48 -0700 |
| Last post | 2014-09-16 19:15 -0400 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | Ed Judge <ejudgie@gmail.com> |
|---|---|
| Date | 2014-09-15 17:48 -0700 |
| Subject | JSON RPC |
| Message-ID | <9710e6ab-4c9c-4cfa-8574-f5040e37cd53@googlegroups.com> |
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. Thanks, Ed
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2014-09-15 20:55 -0400 |
| Message-ID | <54178a93$0$300$14726298@news.sunsite.dk> |
| In reply to | #29994 |
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
[toc] | [prev] | [next] | [standalone]
| From | Kevin McMurtrie <mcmurtrie@pixelmemory.us> |
|---|---|
| Date | 2014-09-15 21:56 -0700 |
| Message-ID | <mcmurtrie-76A48F.21561115092014@news.sonic.net> |
| In reply to | #29995 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Ed Judge <ejudgie@gmail.com> |
|---|---|
| Date | 2014-09-16 05:07 -0700 |
| Message-ID | <3b7cb074-2bc6-4e09-af5c-13eca88820c1@googlegroups.com> |
| In reply to | #29996 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2014-09-16 19:15 -0400 |
| Message-ID | <5418c492$0$302$14726298@news.sunsite.dk> |
| In reply to | #29997 |
On 9/16/2014 8:07 AM, Ed Judge wrote: > 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. >> 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. > 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. JAX-RS is REST style not RPC style. So no - it will not fit JSON-RPC. But on the hand it will fit with what most other people are doing! :-) Arne
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web