Adobe Flash is saying goodbye, but is everyone happy?

Adobe is finally saying goodbye to Flash Player

This Tuesday, Adobe announced that it would stop updating and distributing Flash Player at the end of 2020. There are plenty of reasons to be happy that it is going away but I can’t help but spend some time reflecting on the past. 

Adobe Flash

There are new standards in place that will carry us into the future and while I am glad to see Flash going away, I can’t help but be a little nostalgic today. 

How to use HikariCP in your next Spring Boot project

HikariCP is the fastest, most reliable JDBC connection pool around

Performance is something we are all trying to improve on when it comes to our applications. It turns out that there is a very reliable, high performance JDBC connection pool out there that we can start using in our Spring Boot applications today. 

HikariCP is the fastest connection pool around.

In this article, we are going to take a look at HikariCP, the CP standing for a connection pool. HikariCP is a “zero-overhead” production-quality connection pool.

Spring Boot Application Failed To Start

The Tomcat connector configured to listen on port 8080 failed to start.

Errors are a part of the development lifecycle and there is no way getting around them. I know we all like to think we are top notch coders and that we are error prone but I can assure you that isn’t the case. 

Application Failed To Start

When errors come up it is nice to have as much information at our disposal as possible. We don’t have time to search the web for hours of cryptic stack messages to find our solution. In this article, I am going to show you an error you might come across and how Spring Boot 1.4 has made it a little bit easier to decipher error messages. 

How to read JSON data in Spring Boot and write to a database

We are going to read in some JSON data and map it to our Spring Boot Domain Object.

In this tutorial, we are taking a look at a student’s question from my Spring Boot Introduction Course

How can I read in a JSON file in Spring Boot and save the records to a database?

JSON

If you have ever had to read and write JSON data you know that this can be tricky. First, you have to read in the JSON data and mapping that data to your domain model isn’t always easy. Once you have that in place you need to take that data and save it off to a database. In this tutorial, we will look at a quick and easy way to do this in Spring Boot.

Multiple Request Mappings in Spring Boot

How can we define multiple request mappings for a single method?

In this tutorial, we are taking a look at a student’s question from my Spring Boot Introduction Course. The question was related to building out Spring Controllers and how to define multiple request mappings for a single method.

Request Mappings

“How can I create multiple request mappings for a single method?”

Deploying a WAR to an application server in Spring Boot

How can we package our application as a WAR file and not a JAR?

In this tutorial, we are taking a look at a student’s question from my Spring Boot Introduction Course. We might not realize it but when we start a new project we are selecting how we want to package this application when we ready to go live. 

Spring Boot: Package as WAR

I recently received the following question from a student: 

In the real world, an application will be deployed to an application server like JBoss. How can the application be wrapped into a war file and deploy to the application server?

Thank you for the question and now let’s dive into the answer. 

Spring Boot Configuration using YAML

In this tutorial, we are going to look at a question from a student in my Spring Boot Introduction course. This question had to do with using a YAML file for configuration and the best way about how to inject a single property for multiple environments. 

Spring Boot YAML Configuration

Let’s take a look at the question and then we will talk through the solution. 

Hi!
How can I access these properties from a single yml properties file in the DataSourceConfig? Thanks.

Building your Angular Application for Spring Boot

How to bundle your Angular application into your next Spring Boot Project

I have been working on a ton of different Angular projects lately and some of them are going to be included in my Angular 4 Java Developers Course

Building Angular for Spring Boot

There might be times when you have one team working on the front end (Angular) and another working on the back end. There are certainly times when it makes sense to separate the tasks for these applications but there are also times when you as a developer wear many hats. Today we are going talk about the scenario where you are working on both the Angular & Spring Boot application side by side. 

Spring Boot Properties: Setting the locale

A question from a student about Internationalization in Spring Boot.

In today’s article, we are going to look at a question from a student in my Spring Boot Introduction course. This question has to do with Internationalization and more specifically how to set the locale in the properties file of a Spring Boot application. 

Spring Boot Internationalization: Setting the locale

This question comes in from Mykhaylo. 

Hi,

I’ve put in my property file spring.mvc.locale=fr , but it is still messages from default messages.properties file that are displayed. 

If I display a value of current locale I see that this is en_GB, and not French:  <p th:text=”${#locale}”>…..</p>

What is the way to set up a locale in SpringBoot?