Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

NoSuchMethodError: MultivaluedMap.addAll in Jersey Client

I'm trying to use Jersey Client to simulate HTTP requests to my web service. I tried to implement the simple …

java jersey client jax-rs
Send redirect from a JAX-RS service

Is it possible to have a JAX-RS web service redirect to another web page? Like as you would do with …

java redirect jax-rs
How to find out incoming RESTful request's IP using JAX-RS on Heroku?

I'm writing a Java RESTful service hosted on Heroku based on an example -> https://api.heroku.com/myapps/…

rest heroku jersey jax-rs grizzly
How to force URIBuilder.path(...) to encode parameters like "%AD"? This method doesn't always encode parameters with percentage, correctly

How to force URIBuilder.path(...) to encode parameters like "%AD"? The methods path, replacePath and segment of URIBuilder do not …

jersey jax-rs jersey-1.0
How to choose between JAX-RS and JAX-WS web services implementation?

In what contexts is it better to use one over the other and why? Thanks!

java jax-ws jax-rs
How to produce JSON output with Jersey 1.6 using JAXB

@XmlRootElement public class Todo { private String s = "test"; public String getS() { return s; } public void setS(String s) { this.s = …

java json rest jackson jax-rs
Why would "java.lang.IllegalStateException: The resource configuration is not modifiable in this context." appear deploying Jersey app?

I have created an app implementing REST services locally using: Eclipse Indigo Jersey 2.4 Tomcat 7.0.47 When running locally using Eclipse, the …

tomcat7 jax-rs jersey-2.0
which init-param to use: jersey.config.server.provider.packages or javax.ws.rs.Application?

I am deploying JAX-RS web services to a Tomcat servlet container. I have seen code examples that use either of …

java web-services tomcat jersey jax-rs
RESTEasy - @Path requiring a full path?

I was messing around with JAX-RS and made an application which calls REST services which produce JSON. I tried Jersey …

java jax-rs resteasy
JAX-WS vs JAX-RS For RESTful Web Service

Hi I have worked with JAX-WS for SOAP based webservices. Now I want to use REST because REST have advantages …

java rest soap jax-ws jax-rs