Top "Jersey" questions

Jersey is the open source, production quality, JAX-RS (JSR 311, JSR 339) Reference Implementation for building RESTful Web services.

Jersey: No suitable constructor found for type [simple type, class Thing]: can not instantiate from JSON object

I have a resource with a method like: @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) @Path("/add") public …

java jersey jackson jersey-2.0
What difference between Jersey vs jax-rs

I really cant understand what really is jersey.. What I know is that Jax-RS is an API for building REST …

java jersey jax-rs
JAX-RS jersey ExceptionMappers User-Defined Exception

I am new to this, trying to achieve reading some docs but its not working, please bear with me. I …

java web-services rest jersey jax-rs
Jersey ContainerRequestFilter not triggered

I'm trying to use a ContainerRequestFilter to enforce some authentication on a Tomcat based Jersey application. I followed this document. …

jersey jersey-2.0
How can I solve "java.lang.LinkageError: loader constraint violation" during execute Jersey 1.6 & axis2 1.3 in one web application?

I already have soap based web service running with axis2 1.3. These day, we have a plan to develop RESTful web …

jboss jaxb axis2 jersey
Jersey Maven quickstart archetype in Eclipse

I am trying to create Jersey normally with the aid of maven but I am always getting this structure as …

java maven jersey jersey-2.0 maven-archetype
How to use mockito for testing Database connection

I am using Junit to test my jersey api. I want to test DAO without a database. I tried using …

junit jersey mockito jersey-client rest-assured
Using @Context, @Provider and ContextResolver in JAX-RS

I'm just getting acquainted with implementing REST web services in Java using JAX-RS and I ran into the following problem. …

java jersey jax-rs
How to avoid OutOfMemoryError when uploading a large file using Jersey client

I am using Jersey client for http-based request. It works well if the file is small but run into error …

file-upload jersey large-files
What objects can I inject using the @Context annotation?

I'm new to JAX-RS and I'm trying to understand how the @Context annotation is supposed to work. At the javadoc …

java jersey jax-rs