REST/JSON Web Services

less than 1 minute read

This page provides information on how to implement JSON/REST based Web Services with Java.

Java

I recommend using Jersey for Java REST services.

Tutorials

Important Notes

Please add the following snippet to the project’s web.xml to enable the automatic translation of more complex data types such as Map, List or Objects.

    <init-param>
        <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
        <param-value>true</param-value>
    </init-param>   

Python

Tutorials for querying JSON/REST Web Services from Python:

Categories: ,

Updated: