Enterprise Java
-
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 » -
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 » -
Clean Code from the trenches
Clean Code from the trenches – Validation Let’s directly start with an example. Consider a simple web service which allows…
Read More » -
Apache Camel 2.19 Released – Whats new
Apache Camel 2.19 was released on May 5th 2017 and its about time I do a little blog about what…
Read More » -
Configuring multiple context root for a single webapp – JBoss
Sometime back we made changes to our application to support multiple context root leveraging JBoss capabilities by defining one in…
Read More » -
Testing Spring Data + Spring Boot applications with Arquillian (Part 1)
Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the…
Read More »