How to Detect Java Deadlocks Programmatically

Deadlocks are situations in which two or more actions are waiting for the others to finish, making all actions in a blocked state forever. They can be very hard... Read all

Improving Lock Performance in Java

After we introduced locked thread detection to Plumbr couple of months ago, we have started to receive queries similar to “hey, great, now I understand what is... Read all

RabbitMQ - Processing Messages Serially Using Spring Integration Java DSL

If you ever have a need to process messages serially with RabbitMQ with a cluster of listeners processing the messages, the best way that I have seen is to use... Read all

Converting between Completablefuture and Observable

CompletableFuture<T> from Java 8 is an advanced abstraction over a promise that value of type T will be available in the future. Observable<T> is... Read all

Functional Programming with Java 8 Functions

Learn how to use lambda expressions and anonymous functions in Java 8. Read all

Sublime: Configure to Open HTML Page in a Web Browser

This article presents steps that is needed to configure Sublime to open the HTML pages you are working, in your preferred web browser. As I started developing... Read all

URL shortener service in 42 lines of code in... Java (?!)

Apparently writing a URL shortener service is the new "Hello, world!" in the IoT/microservice/era world. It all started with A URL shortener service in 45 lines... Read all

Building Extremely Large In-Memory InputStream for Testing Purposes

For some reason I needed extremely large, possibly even infinite InputStream that would simply return the same byte[]over and over. This way I could produce... Read all

Fingerprint CSS in MVC Web Sites

Optimizing for website performance includes setting long expiration dates on our static resources, such s images, stylesheets and JavaScript files. Doing that... Read all

Spring/Hibernate Improved SQL Logging with log4jdbc

Read all

 

 

 

 

Top