Tags : Browse Projects

Select a tag to browse associated projects and drill deeper into the tag cloud.

jsonrpc4j

Compare

  Analyzed about 2 hours ago

jsonrpc4j - JSON-RPC for JavaThis project aims to provide the facility to easily implement JSON-RPC for the java programming language. At the heart of jsonrpc4j is JsonEngine. JsonEngine is used to convert java objects to and from json objects (and other things related to JSON-RPC). JsonEngine is ... [More] an interface and therefore makes the underlying JSON implementation pluggable. Currently the only implementation available uses Jackson (JacksonJsonEngine). What's Missing?Here's a list of things that need to be implemented: GET support as per the spec (currently only POST is supported) Create portable javascript library MavenThis project is built with Maven. Be sure to check the pom.xml for the dependencies if you're not using maven. If you're already using spring you should have most (if not all) of the dependencies already - outside of maybe the Jackson library. The jsonrpc4j maven repository is located at http://jsonrpc4j.googlecode.com/svn/maven/repo/. Add the following to your pom.xml if you're using maven: In : jsonrpc4j-webdav-maven-repo jsonrpc4j maven repository http://jsonrpc4j.googlecode.com/svn/maven/repo/ default In : com.googlecode jsonrpc4j 0.1-SNAPSHOT JSON-RPC specificationThere doesn't seem to be an official source for the JSON-RPC specification. With that said, the guys over at json-rpc google group seem to be fairly active so the specification that they've outlined is what was used. Spring Frameworkjsonrpc4j provides a RemoteExporter to expose java services as JSON-RPC over HTTP without requiring any additional work on the part of the programmer. The following example explains how to use the JsonServiceExporter within the Spring Framework. Create your service interface: package com.mycompany; public interface UserService { User createUser(String userName, String firstName, String password); User createUser(String userName, String password); User findUserByUserName(String userName); int getUserCount(); }Implement it: package com.mycompany; public class UserServiceImpl implements UserService { public User createUser(String userName, String firstName, String password) { User user = new User(); user.setUserName(userName); user.setFirstName(firstName); user.setPassword(password); database.saveUser(user) return user; } public User createUser(String userName, String password) { return this.createUser(userName, null, password); } public User findUserByUserName(String userName) { return database.findUserByUserName(userName); } public int getUserCount() { return database.getUserCount(); } }Configure your service in spring as you would any other RemoteExporter: Your service is now available at the URL /UserService.json. Type conversion of JSON->Java and Java->JSON will happen for you automatically. This service can be accessed by any JSON-RPC capable client, including the JsonProxyFactoryBean provided by this project: In the case that your JSON-RPC requies named based parameters rather than indexed parameters an annotation can be added to your service interface (this also works on the service implementation for the ServiceExporter): package com.mycompany; public interface UserService { User createUser(@JsonRpcParamName("theUserName") String userName, @JsonRpcParamName("thePassword") String password); } [Less]

8.39K lines of code

2 current contributors

24 days since last commit

0 users on Open Hub

Low Activity
0.0
 
I Use This

vcspull

Compare

Claimed by VCS Python Analyzed about 17 hours ago

mass update git, hg and svn repos simultaneously from YAML / JSON file.

2.87K lines of code

2 current contributors

1 day since last commit

0 users on Open Hub

Very Low Activity
0.0
 
I Use This

Simple Remoting

Compare

  Analyzed about 1 hour ago

Simple Remoting is an alternative SOA library which uses JSON instead of XML as its messaging format. Converting popular java object types like POJO, Spring and EJB to services can be done within minutes without any code change on existing classes.

11.4K lines of code

0 current contributors

about 15 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This
Licenses: No declared licenses

JSON Inspector

Compare

  Analyzed about 19 hours ago

Firefox extension. Inspect JSON object from URL or entered text.

577 lines of code

0 current contributors

over 11 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

xmpp-ftw-mam

Compare

  Analyzed 1 day ago

A Message Archive Management/MAM (XEP-0313) plugin for XMPP-FTW

649 lines of code

0 current contributors

almost 10 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

pipar-open-data

Compare

  Analyzed about 19 hours ago

Open Data scrapper of political parties registries. Currently only for Ministry of Interior of Spain registry. Open to other countries!

227 lines of code

0 current contributors

about 10 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

xmpp-ftw-jingle

Compare

  Analyzed about 7 hours ago

Jingle (XEP-0166) plugin for XMPP-FTW

1.08K lines of code

0 current contributors

almost 10 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

marcusolsson/grafana-json-datasource

Compare

  Analyzed about 24 hours ago

A data source plugin for loading JSON APIs into Grafana.

2.1K lines of code

0 current contributors

3 months since last commit

0 users on Open Hub

Very Low Activity
0.0
 
I Use This

PyMOSP

Compare

  Analyzed 1 day ago

PyMOSP is a Python library to access MOSP.

463 lines of code

1 current contributors

8 months since last commit

0 users on Open Hub

Very Low Activity
5.0
 
I Use This

s3crets

Compare

  Analyzed about 20 hours ago

Tool to merge yaml "secret" files into JSON, this way we can store password seperate from Chef JSON config

168 lines of code

0 current contributors

over 12 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This
Tags chef json