Home » Tag Archives: RESTful Web Services (page 6)

Tag Archives: RESTful Web Services

Declarative Linking in Jersey 2.9 and up

java-interview-questions-answers

A couple of weeks ago A couple of months ago I was looking how I was going to engineers new REST API for an Oracle Cloud project. Once of the things I had planned to do was to use the declarative link injection created in Jersey 1.x by Marc Hadley. Sadly this hadn’t been forwarded ported yet, so a quick ...

Read More »

Rest API best(?) practices reloaded

software-development-2-logo

The last one and a half year I’m involved in 2-3 projects that expose a big set of Rest APIs for “external” use. I will come back later and explain why the word external is insides quotes. During this period we had to design, re-design and re-structure some times these APIs. This blog post expresses my personal thoughts about some best(?) practices that ...

Read More »

Jax-RS custom exception handling

java-interview-questions-answers

One of the nice things about working with JEE is the components available really are pretty standard.  While using JAX-RS, sometimes you need to control how exceptions get processed and fed back to the user.  If an exception is thrown, by default, you’ll get some horrible HTTP 500 internal server exception, exposing the internal failings of your web service. Consider ...

Read More »

Dropwizard: painless RESTful JSON HTTP web services

java-interview-questions-answers

Java developers looking for a quick, painless way of creating production-ready RESTful JSON HTTP web services should consider the Dropwizard framework. Dropwizard brings together well-regarded libraries that compliment each other so you can get to what’s important: writing and delivering working code. For those interested in details on the libraries used, please refer to the Dropwizard overview. Fortunately, Dropwizard doesn’t ...

Read More »

The Power of Spreadsheets in a Reactive, RESTful API

software-development-2-logo

Being mostly a techie, I’ve recently and admittedly been deceived by my own Dilbertesque attitude when I stumbled upon this buzzword-filled TechCrunch article about Espresso Logic. Ever concerned about my social media reputation (e.g. reddit and hackernews karma), I thought it would be witty to put a link on those platforms titled: Just found this article on TechCrunch. Reads like ...

Read More »

Creating a simple JAX-RS MessageBodyWriter

java-interview-questions-answers

JAX-RS is really cool and with the help of JAXB a lot of response data types can be converted for you simply by adding annotating the data objects with JAXB annotations.  I am fairly new at JAXB but some simple cut/paste of annotations will take you a long way. There maybe some types of data that you can’t or won’t ...

Read More »

Implementing Jersey 2 Spring integration

spring-interview-questions-answers

Jersey is the excellent Java JAX-RS specification reference implementation from Oracle. Last year, when we were starting to build RESTful backend web services for a high-volume website, we chose to use the JAX-RS API as our REST framework and Spring framework for dependency injection. Jersey was our JAX-RS implementation of choice. When the project was started JAX-RS API 2.0 specification ...

Read More »

Transparent PATCH support in JAX-RS 2.0

java-interview-questions-answers

The PATCH method is one the the less well loved HTTP methods simple because until recently there really wasn’t a standard PATCH format. This has been standardized for JSON for a while now so there are quite a few libraries that will do the heavy lifting for you. For the purposes of this blog I am going to use json-patch ...

Read More »

Migrating Spring MVC RESTful web services to Spring 4

spring-interview-questions-answers

1   Introduction Spring 4 brings several improvements for MVC applications. In this post I will focus on restful web services and try these improvements by taking a project implemented with Spring 3.2 and upgrading it to Spring 4. The following points sum up the content of this post: Migration from Spring 3.2 to Spring 4.0 Changes in @ResponseBody and inclusion of ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close