Java
-

AWS: Some Tips for Avoiding Those “Holy Bill” Moments
Cloud is awesome: almost-100% availability, near-zero maintenance, pay-as-you-go, and above all, infinitely scalable. But the last two can easily bite…
Read More » -

A Few Additions to Your Bag of Maven-Fu
Apache Maven is simple, yet quite powerful; with a few tricks here and there, you can greatly simplify and optimize…
Read More » -

Java: Simulating various connection problems with Toxiproxy
Simulate various connection problems with Toxiproxy and Java’s HttpURLConnection to see what kind of errors get produced: connect timed out vs. read timed out…
Read More » -

Running code on Spring Boot startup
Spring Boot does a lot of configuration automatically for us but sooner or later you’ll have to do some custom…
Read More » -

Migrating from Commons CLI to picocli
Apache Commons CLI, initially released in 2002, is perhaps the most widely used java command line parser, but its API…
Read More » -

Java Integer Cache – Why Integer.valueOf(127) == Integer.valueOf(127) Is True
In an interview, one of my friends was asked that if we have two Integer objects, Integer a = 127; Integer…
Read More » -

Understanding H2 InMemory Database with Spring Boot
Introduction Basically the database setup involves several steps before we can use it through configured datasource in our application. This…
Read More » -

Spring Boot Microservices , Docker and Kubernetes workshop – part2
In the previous post we created our first micro service “ProductService” using SpringBoot and Docker. In this part we will go…
Read More » -

Behavioural Design Patterns: Mediator
Previously we had a look at the iterator pattern. The mediator pattern is way different on what it tries to…
Read More »




