I have googled around quite a bit still am confused as to what each of the above exactly mean.
Here is my understanding of it:
jaxrs-api : contains only api. No implementation. But how is it different from JSR311
jsr311-api : JSR311 it is a…
I have a custom context:
public class MyContext {
public String doSomething() {...}
}
I have created a context resolver:
@Provider
public class MyContextResolver implements ContextResolver {
public MyContext getContext(Class>…
While helping out someone else, I noticed they were trying to do Spring development using the @GET, @Consumes, and @Path annotations. It is my understanding that these annotations come from the JSR-311 specification.
I simply suggested that they…
I'm trying to use both spring-cloud-starter-eureka (Brixton.M2) and spring-boot-starter-jersey maven dependencies in a Spring boot Project (1.3.0.RC1):
org.springframework.cloud
…
I am implementing a custom MessageBodyReader that needs to resolve URIs against the request URI during processing. If the MessageBodyReader is used in a JAX-RS server implementation, which eg. processes incoming POST requests, I can obtain the…
I have a group of cut and paste JAX-RS 1.1.1 annotated classes that I share between 4 services. These are management services that provide telemetry from process like hibernate and a common version info resource. In my web.xml I supply the fully…
Both seem to provide the same interfaces but I could not find a definite answer on what the difference between the two is (and which one to take).
JSR311: https://jsr311.java.net/nonav/releases/1.1/index.html
rs-api:…
Does JAX-RS/Jersey 2.x utilize servlet 3.0 async capability? or it is just another async layer on top of old-fashioned thread/request based servlet architecture.
I am using Jersey as JSR 311 implementation. The object i am trying to convert to JSON looks like this:
@XmlRootElement
public class deliveryTimes{
private Integer id;
private Short type;
private Integer orderId;
/* ... more fields and…
From NetBeans, I created a new REST webservice (using jersey), using the built-in wizards. in the container resource class, it created a stub,
@POST
@Consumes("application/json")
@Produces("application/json")
public Response postJson(Identity…
I have searched lot on this issue and spent more than 3 days but none of the thread helped me. I am using Jersey oAuth to access webservice.
below is my code for jersey oAuth.
private SSRestServiceClient(String url, String consumerKey, String…
I have a working Spring boot app. I changed the application to read its configuration from Spring Cloud Config server. I added bootstrap.properties and the following dependencies to the pom:
…
I am trying to replace Jersey-bundle with jsr311-api but after replacing it on pom.xml I am getting java.lang.CLassNotFoundException com.sun.ws.rs.ext.runtimedelegateimpl
When I debug a little I found that in…
Till recently my code had been working fine, on GAE and on dev server. Then recently I uploaded a new version and that doesn't work at all on the server, works just fine on my local machine (dev server). The older version continues to work on the…
I have developed a web application(spring mvc , webservices) and tried deployed in tomcat 7, and weblogic 10.3.6. currently we are trying in weblogic 12c (12.1.1). the deployement was successfull. but when tried to invoke a page it giving below…