Java
-

Effective Java – Creating and Destroying Objects
Creating and Destroying Objects (Ch 2) This is a short summary of Joshua Blochs book Effective Java chapter 2. I…
Read More » -

Effective Java – Method Common to All Objects
Methods Common to All Objects (Ch 3) This is a short summary of Joshua Blochs book Effective Java chapter 3.…
Read More » -

Mocking Spring Security Context for Unit Testing
Today, while writing unit test case for one of the Java method which looks like below: public ApplicationUser getApplicationUser() { ApplicationUser…
Read More » -

Boosting test performance with TestContainers
In my previous post on testing, I described how to use TestContainers to provide realistic test environments for database tests.…
Read More » -

Importance of given-when-then in unit tests and TDD
Recently, Iâve been writing rather about more advanced concepts related to automatic testing (mostly related to Spock). However, conducting my…
Read More » -

JVM Statistics with jstat
I have written about several command-line tools provided with the Oracle and/or OpenJDK Java Development Kits (JDKs) in the past,…
Read More » -

Handling Events in React
In post Rendering RESTful service with React we created simple UI which render employee list fetched from RESTful service. As…
Read More » -

Short Retry vs Long Retry in Apache Camel
Camel Design Patterns book contains 20 patterns and numerous techniques and best practices for designing Apache Camel based integration solutions.…
Read More » -

Testing Spring Data + Spring Boot applications with Arquillian (Part 2)
In previous post, I wrote about how to test Spring Data application using Docker with Arquillian Cube. The test looked like: @RunWith(SpringRunner.class) @SpringBootTest(classes =…
Read More »





