Tagged: JAX-RS

Google OAuth2 and JAX-RS

These days users have so many accounts… Google, Facebook, Twitter, LinkedIn, etc. Managing all of these accounts can quickly become a chore. As an application developer, you have the choice of allowing your users to reuse an existing account e.g. Google or creating a new account dedicated to your application. Reusing an existing account clearly has benefits. The user has one less account to maintain. He has one less username/password...

RESTful Design Principles

Here, we will outline the set of RESTful design principles that should be adhered to when creating a ‘proper’ RESTful service. Let’s start with the basics. What is REST? REST = REpresentational State Transfer. REST is an architectural style for network based software that requires stateless, cacheable, client-server communication via a uniform interface between components. The primary focus of this blog post is to introduce REST along with REST terminology, REST concepts, and some simple...

Interfaces and JAX-B

I’ve been working with JAX-B and JAX-RS to create a RESTful service. This service interacts with another RESTful service. In terms of design, the two services share an interface, however the implementation of this interface is very different between the two services. As an experienced Java developer, naturally, I create a common API. In this case, it is essentially a set of interfaces that ship with both services. My plan...


Get every new post on this blog delivered to your Inbox.

Join other followers: