2020 has been quite a ride for me just like everyone else on this planet getting used to better hygiene and social distancing and I am very grateful I made it so far. I hope we got past that stormy ride where we were cruising blindly at times, now that vaccine for every earthling is … Continue reading Mission 2021
Category: Architecture
Monitoring and managing Micronaut application
Managing and monitoring a microservices architecture is no brainer with the Micronaut framework. In my previous post, we implemented an API gateway to our reactive Maps service which used Micronaut's Consul integration for discovery and provided automatic client-side load balancing. In this post, let us look at implementing some of the monitoring capabilities to our … Continue reading Monitoring and managing Micronaut application
Micronaut API gateway in action
In this post, I am going to show how we can implement a simple gateway service for the Maps microservice developed in the earlier post. Gateway microservice is another Micronaut service that consumes our Maps service and provides public API access for users, requests are routed using gateway which can be managed, monitored, secured and … Continue reading Micronaut API gateway in action
Reactive microservices development with Micronaut
There is some fresh air in the microservice development stack for developers. Java developers usually look at Spring Boot which provides a platform for building production grade services that helps implement microservice architecture and targets Spring developers. There are couple new frameworks to look for that could shape up this landscape in the coming years. … Continue reading Reactive microservices development with Micronaut
Configuring chunk size in Apache HttpClient 4.3.x
The default chunk size in Apache HttpClient 4.3 is set to 2048 bytes. There is no easy way to customize the chunk size in the latest Apache HttpClient release. It looks like the only approach is to implement a custom ClientConnectionFactory that allows to override the default chunk size. Here is an example. https://gist.github.com/aruld/8044989
Implementing a light weight web service trigger in Flux
Aloha from Hawaii! Shame on me to not blog for months. Well, honestly I have been quite busy during the past few months. With the big move to Hawaii in December and the recent launch of Floify kept me occupied. Although moving to a new place is fun, getting settled on an island can sometimes … Continue reading Implementing a light weight web service trigger in Flux
Invoking Web Services from your Flux Workflow
Flux's RestAction is the go-to construct for users orchestrating Flux workflows that involve web service integration. Be it HTTP-based services or SOAP-based services that implement HTTP binding, RestAction comes very handy for developers. Flux has a WebServiceAction which talks SOAP exclusively for services that implement WS-* such as Addressing, Security etc. RestAction has neat XPath … Continue reading Invoking Web Services from your Flux Workflow
Sakila Restful Search using CXF FIQL
There are two features that are very cool in the recent CXF 2.3 release that deserves its mention in the release notes/features document as they prove to be quite useful and powerful in certain use cases. Advanced search capabilities and Atom Logging features make CXF a compelling choice for developers looking for this support in … Continue reading Sakila Restful Search using CXF FIQL
Hate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue
JAXB is the defacto OXM binding framework for the Java platform which performs marshalling (serializing Java to XML) and unmarshalling (deserializing XML to Java) using the standard Java APIs. I must admit that JAXB is a smart addition to the Java Web services technologies stack. It reminds me of days where I used to write … Continue reading Hate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue
Handling Generified Collections in Jersey JAX-RS
It is quite possible many developers have run into this problem with Jersey, not really a problem, but limitations of a programming language. I remember from school days where C++ Templates had quite a few reference books and it always kept me away from using STL containers 🙂 In Java, we have Generics since 1.5 … Continue reading Handling Generified Collections in Jersey JAX-RS