Home » Tag Archives: JAX-RS

Tag Archives: JAX-RS

What are JAX-RS Annotations? (Part 3)

java-interview-questions-answers

Overview of JAX-RS Annotations (Part 3) This is a three-part series looking at the annotation that is used to implement REST endpoints. In part two of JAX-RS annotations you learnt about: The @Path Annotation and @PathParam The @QueryParamter Annotation The @Produces Annotation The @Consumes Annotation In this part, you will learn more about JAX-RS annotations. Are you ready? let’s get started. ...

Read More »

What are JAX-RS Annotations? (Part 2)

java-interview-questions-answers

Overview of JAX-RS Annotations (Part 2) This is a three-part series looking at the annotation that is used to implement REST endpoints. In part one of JAX-RS annotations you learnt about: The @ApplicationPath Annotation The @Path Annotation The @GET HTTP Method Annotation The @POST HTTP Method Annotation The @PUT HTTP Method Annotation The @DELETE HTTP Method Annotation The @OPTIONS HTTP Method Annotation ...

Read More »

What are JAX-RS Annotations?

java-interview-questions-answers

Overview of JAX-RS (Part 1) The JAX-RS API forms an important part of the Java EE platforms commitment to provide standards-driven technology. The ubiquitous nature of the internet and that recent increasing interest in the microservice architecture has put more focus on small scalable autonomous services and their interoperability. The principal methodology used to allow microservice to communicate with each other and the ‘outside ...

Read More »

Keep your promises: contract-based testing for JAX-RS APIs

java-interview-questions-answers

It’s been a while since we talked about testing and applying effective TDD practices, particularly related to REST(ful) web services and APIs. But this topic should have never been forgotten, especially in the world where everyone is doing microservices, whatever it means, implies or takes. To be fair, there are quite a lot of areas where microservice-based architecture shines and ...

Read More »

Laziness at extreme: developing JAX-RS services with Spring Boot

spring-interview-questions-answers

I think it would be fair to state that we, as software developers, are always looking for the ways to write less code which does more stuff, automagically or not. With this regards, Spring Boot project, proud member of the Spring portfolio, disrupted the traditional approaches, dramatically speeding up and simplifying Spring-based applications development. There is a lot to be ...

Read More »

Continuous Stress Testing for your JAX-RS (and JavaEE) applications with Gatling + Gradle + Jenkins Pipeline

In this post I am going to explain how to use Gatling project to write stress tests for your JAX-RS Java EE endpoints, and how to integrate them with Gradle and Jenkins Pipeline, so instead of having a simple stress tests, what you have is a continuous stress testing, where each commit might fire these kind of tests automatically, providing automatic assertions and more important graphical ...

Read More »

Your JAX-RS APIs were not born equal: using dynamic features

java-interview-questions-answers

This time we are going to talk a little bit about JAX-RS 2.0 APIs and touch on one very interesting aspect of the specification: dynamic features and how they are useful. Traditionally, when JAX-RS 2.0 APIs are configured and deployed (using Application class, bootstrapped from servlet or created through RuntimeDelegate), there is an option to register additional providers and features. ...

Read More »

JAX-RS and JSON-P integration

This short post talks about support for JSON-P in JAX-RS 2.0 JSON-P …? The JSON Processing API (JSON-P) was introduced in Java EE 7. It provides a standard API to work with JSON data and is quite similar to its XML counterpart – JAXP. JSON-B (JSON Binding) API is in the works for Java EE 8. Support for JSON-P in ...

Read More »