SDKMAN! allows us to easily install and use different JDKs. It can become frustrating to have to change JDK versions manually for different projects. Fortunately, SDKMAN! has a solution to this in the form of the
sdk env command. This command allows us to define a different JDK per project…
SDKMAN! describes itself as:
“a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates.”
What this means, is that it is a powerful tool that allows you…
When developing any application, it’s quite common to have to access multiple databases. Out of the box, Spring Boot provides easy access to a single datasource, in the simplest case just by specifying the JDBC driver on the class path!
Accessing multiple databases however, is still straightforward with Spring Boot…
When debugging a SpringBoot application in IntelliJ Idea Community Edition, additional steps need to be taken.
If you have defined your run configuration as
spring-boot:run, you will find that the application runs, but does not stop at breakpoints as expected.
I’ve recently started learning AWS Amplify, and I must say, I’m blown away with what it can do and the help it gives to both web and mobile developers. For web development, I’m particularly interested in React, but Amplify supports much more than that, with support for Vue, Angular, Next.js…
If you’re a Java developer using JPA, chances are that you’ve declared one or more
@NamedQuery objects on your entities.
To declare a
@NamedQuery on a class, the class must simply be annotated with the name of the query and its JPQL, such as:
@NamedQuery(name = "findAllProjects"…
Node.js allows code to be written and stored in (preferably) small modules. These modules can then be referenced from other modules to build up larger applications. What exactly is a module though, and how can code be accessed from within a module?
Let’s take a look at a small piece…
There are no doubt multiple ways of centring an element on a page using CSS, but here I present 2 different techniques that are straightforward and easy to implement. You could use these techniques for centring a login box, or an information message, etc. in the middle of a page.