Tag Archives: REST

Microservices messaging on Oracle Cloud using Apache Kafka

Here is a blog I posted on the Oracle Cloud Developer Solutions portal. This is the first of a two-part series which shows asynchronous messaging b/w microservices with the help of a simple example (application)   Technical components Oracle Cloud Oracle … Continue reading

Posted in Cloud, Java, Oracle Application Container Cloud, Oracle Cloud, Oracle PaaS | Tagged , , , , , , , , | Leave a comment

Nuances of JAX-RS client side async callback

Going async with JAX-RS JAX-RS provides client side asynchronous behavior to complement its server side counterpart. It’s powered by the AysncInvoker interface – the best part if that you do not need to get hold of it explicitly. The fluent … Continue reading

Posted in Java, Java EE | Tagged , , , | Leave a comment

New eBook: REST assured with JAX-RS

I am happy to announce the release of yet another book – REST assured with JAX-RS To download … Just visit the book page and click the Add Ebook to Cart button. Don’t worry, the book is absolutely free ! … Continue reading

Posted in Java EE | Tagged , , , | 2 Comments

Custom Security Context in JAX-RS

And the JAX-RS juggernaut continues …. This blog briefly talks about how to override the default security related information associated with a JAX-RS request i.e. how to mess with the SecurityContext Wait.. Security Context ? Think of it as a JAX-RS … Continue reading

Posted in Java EE | Tagged , , , | Leave a comment

Asynchronous JAX-RS: basics & gotchas

This blog post covers asynchronous programming support in JAX-RS and some of its potential gotchas along with a sample (maven based) Java EE project on Github Man, I tend to blog a lot about JAX-RS and REST ! Basics of server side async … Continue reading

Posted in Java EE | Tagged , , , , | 1 Comment

Efficient JAX-RS: Conditional GETs & PUTs

This post discusses how to leverage features in the JAX-RS API to execute RESTful operations based on conditions/criteria in order to aid with scalability and performance. It covers which HTTP headers are involved which JAX-RS APIs to use details of the entire request-response … Continue reading

Posted in Java EE | Tagged , , , | 3 Comments

JAX-RS, JWT & a pinch of JSR 375

This is another version of my previous blog on JAX-RS and JWT which includes a pinch of Java EE Security API (new JSR in Java EE 8). In case you are completely new to JSR 375, please jump to the last … Continue reading

Posted in Java EE | Tagged , , , , , , , | Leave a comment

JSON Web Token in action with JAX-RS

This post is about using JSON Web Token (JWT) with JAX-RS It covers Real quick intro to JWT Shows how to use it with JAX-RS (for authentication) with an example Also demonstrates contextual state/information sharing feature provided by JAX-RS Request Filters and usage … Continue reading

Posted in Java EE | Tagged , , , , , , | 7 Comments

Sharing data between JAX-RS filters

This is a quick post which points out how to share contextual user-defined (custom) data between JAX-RS filters Filter execution It is chain based: one filter gets executed after another Request filters are executed before Response filters If a filter throws an … Continue reading

Posted in Java EE | Tagged , , , | 4 Comments

Binding strategies for JAX-RS filters and interceptors

JAX-RS 2.0 defines multiple ways using which server side filters and interceptors can be bound to their target components. Global Binding Named Binding Dynamic Binding Global Binding By default, JAX-RS filters and interceptors are bound to all the methods of resource … Continue reading

Posted in Java EE | Tagged , , | 9 Comments