Enterprise Java
-
Validation in Spring Boot applications
Validation in Spring Boot applications can be done in many different ways. Depending on your requirements some ways might fit…
Read More » -
Apache Camel 3.8 and Java Flight Recorder
In the upcoming Apache Camel 3.8 release we have a new Camel component to integrate with Java Flight Recorder. Camel…
Read More » -
What Is New In Selenium 4 And What Is Deprecated In It?
Selenium 4 has been gaining immense attention since the time it was publicly announced by Simon Stewart, the founding member…
Read More » -
How To Upgrade From Selenium 3 To Selenium 4?
Selenium 4, the latest version of the Selenium framework, has become the talk of the town since its announcement in…
Read More » -
REST: Partial updates with PATCH
In previous posts we learned how to update/replace resources using the HTTP PUT operation. We also learned about the differences…
Read More » -
Testing with Mockito
1) Register MockitoExtension @ExtendWith(MockitoExtension.class) class ObjectTest { static final Long ID = 1L; 2) Create the mock @Mock private ObjectRepo…
Read More » -
Spring Injection Types
Spring supports three types of dependency injections: Constructor injection @Component public class SecondBeanImpl implements SecondBean { private FirstBean firstBean; @Autowired…
Read More » -
Apache Lucene performance on 128-core AMD Ryzen Threadripper 3990X
Almost a decade ago, I started running Lucene’s nightly benchmarks, and have been trying with mixed success to keep them…
Read More » -
Content-Security-Policy Nonce with Spring Security
Content-Security-Policy is important for web security. Yet, it’s not mainstream yet, it’s syntax is hard, it’s rather prohibitive and tools rarely…
Read More »