Tag Archives: jaxrs

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 , , , , , | 1 Comment

Validate JAX-RS query parameters

  It’s easy to validate parameters in JAX-RS using filters – ContainerRequestFilter to be specific. There are other options at your disposal e.g. using (CDI or EJB) interceptors, or injecting (HttpServletRequest using @Context) Scenario – Validate query parameter passed in by the … Continue reading

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

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 , , , , , , | 4 Comments

(eBook) ‘REST assured with JAX-RS’ now available on Gitbook

    You can now read REST assured with JAX-RS online on Gitbook, or grab the PDF from Leanpub.. Happy reading!

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

Integrating Oracle Application Container & Database Cloud using ‘Service Bindings’

Don’t forget to check out my new blog post on the Oracle Cloud Developer solutions community portal ! It demonstrates usage of Oracle Application Container Cloud and Database Cloud service. To be precise, it covers the following An introduction to Service … Continue reading

Posted in Java, Java EE, 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