Tag Archives: REST

Handling custom objects with JAX-RS SSE API

Information sent using the JAX-RS 2.1 SSE support (in Java EE 8) does not only have to be of String type – it supports Java primitives (Integer , Long etc.), JSON-B & JAX-B annotated types as well as custom objects whose encoding process (Java object to … Continue reading

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

Glassfish 5: JAX-RS SSE quickstart

Latest Glassfish 5 build 08 was announced today which includes JAX-RS 2.1 (JSR 370) integration. I am fond of Server Sent Events (SSE), so let’s take it for a test ride – here is a Docker based quick start on Github … Continue reading

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

Using CDI with Java EE Concurrency Utilities

This blog post explores usage of CDI along with Java EE Concurrency Utilities – specifically using CDI beans as managed tasks. Here is the sample application on Github Lets begin with a quick overview Java EE Concurrency Utilities provides APIs … Continue reading

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

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 , , , | 3 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