H2 is a handy thing to have in your Spring Boot toolbox. It is most known as an in-memory database. That is, it will not persist changes to disk. Generally, you create your tables during…
Context It is a well known best practice to execute threads with the help of ExecutorService. This way, one can create a pool of reusable threads to execute the work that needs to be done…
There are plenty of resources explaining how to configure data source in Spring Boot using various options and various ways to retrieve the configuration details of the connections (from external file, from application.properties, hard-coded, etc).…
Maven is all about connectivity. It allows you to quickly specify a dependency in the pom.xml file and forget about it. Maven will handle it for you. It will download it when necessary. If the…
The simplest way to configure logging in your Spring Boot application is to modify or add some entries in application.properties file. So for our case of setting the location where the log files will be…
1 Create & configure java key stores (JSKs) 1.1 Create server & client jks files Oracle Docs: 7.2.2.1 Generating Private Keys and Creating the Java Keystore 1) Go to the domain_home/config/fmwconfig directory, where domain_home...
The case story for my project implied creating a custom authentication method, which incorporates LDAP and APEX users. Firstly, it verifies if the user can connect to LDAP. If this authentication fails, then there is...
This is a rather short article explaining how to solve some of the issues you may encounter when using PowerMockito with Spring Boot. For various reasons, you may be required to mock method calls on...
This is a rather short article about an error that we had during the development phase using a test H2 Database. Context We have a microservices-based application generated with the help of JHipster which, during...
As prerequisites, I’ve created a page with an Interactive Grid region on it, I’ve given it a Static ID (‘interactive_grid’) and I’ve saved two alternative reports (‘A’ and ‘B’, each with a different setting). In...