“When embracing microservice architectures and agile methodologies, we need to adapt our work habits in a modern and lightweight way.” We interviewed Laurent Bovet at Voxxed Days Zurich on how to go about this. For more, see the full talk below: Real-World Enterprise REST API Design When embracing microservice architectures and agile methodologies, we need […]

Read more

REST no more, use an actor (and Lego and Raspberry Pi’s…) Last year we started a new Internet of Things project: The Internet of (Lego) Trains. In our normal jobs we use languages like Java and Scala to build applications for large organizations running on big servers. We wanted to find out if we could […]

Read more

3 Easy Things to Do to Make Your Microservices More Resilient One of the advantages of building distributed systems as microservices is the ability of the system as a whole to withstand faults and unexpected failures of components, networks, compute resources, etc. These systems are resilient even in the face of faults. The idea behind this resiliency […]

Read more

Originally published on the Codurance blog It seems that a new paradigm is coming. Facebook and Netflix have come up with different implementations for that idea. Some people are calling it Demand-Driven Architecture, but before I show you some solutions, let’s go over some history to understand the problem. I will use the example that […]

Read more

This post is about using JSON Web Token (JWT) with JAX-RS It features; A real quick intro to JWT Instructions for how to use it with JAX-RS (for authentication) with an example In addition, the post… Demonstrates contextual state/information sharing feature provided by JAX-RS Request Filters and usage of custom Security Context in JAX-RS Uses the jose4j library for JWT creation […]

Read more

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 exception, the chain breaks and other filters are skipped i.e. an exception from a Request filter […]

Read more

The recent rebrand of Lightbend has made some considerable waves in the JVM-sphere – not the least because the traditionally Scala-centric company chose to debut Reactive Microservices framework Lagom as Java first. But language politics aside, the core story behind the creation of Lagom links to the Microservice evolution sweeping the industry, and how Lightbend as a […]

Read more

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 classes in an application. That is, both request (pre and post) and response filters will […]

Read more

Integration is a key piece of modern software development. Whether integrating with external vendors or providing APIs for front-end technologies like AngularJS or ReactJS, REST is a popular choice. This session will walk through how and why using the Grails framework to create a RESTful API is easy and efficient. Attendees should have a basic […]

Read more

I have not dug into the Bean Validation specification into detail before, but one of the entries posted in the Payara issue tracker made me explore how the JAX-RS specification integrates/leverages the Bean Validation features Note: Bean Validation has been around since Java EE 6, but its integration with JAX-RS was materialized only in the latest […]

Read more