Java
-
Using jstat to report custom JVM metric sets
I’ve always been missing possibility to configure custom headers in JStat. Of course there are a lot of predefined data…
Read More » -
How to batch INSERT and UPDATE statements with Hibernate
Introduction JDBC has long been offering support for DML statement batching. By default, all statements are sent one after the…
Read More » -
Spring Boot & Swagger UI
I have not developed Spring web applications from scratch for one year and maybe this period of time will be…
Read More » -
Yet another Java 8 Lamdbas and Streams example
I’ve been lagging behind with what Java 8 features exercising concerns, so in this post I will briefly present my initial…
Read More » -
Validating XML Against XSD(s) in Java
There are numerous tools available for validating an XML document against an XSD. These include operating system scripts and tools…
Read More » -
One Year After Java 8’s Release, IDEs and Compilers are not Fully Ready Yet
One year ago, on March 18, 2014, Java SE 8 was released, and with it, the bliss of functional programming…
Read More » -
Creating Millions of Objects with Zero Garbage
As noted in First rule of performance optimisation, garbage is the enemy of fast code. Not only can it destroy any sort…
Read More » -
Netty: A Different Kind of Web(Socket) Server
Netty is used today in all kinds of applications, all over the Internet, to handle thousands (if not millions) of chat…
Read More » -
Using rx-java Observable in a Spring MVC flow
Spring MVC has supported asynchronous request processing flow for sometime now and this support internally utilizes the Servlet 3 async…
Read More »