How to Implement a Spring Boot Solution With MongoDB

For some applications, MySQL just doesn’t fit the bill. That’s when you need a Spring Boot solution with MongoDB. In fact, it’s very likely that MongoDB is the wave of the future. And the future is now. Why? Because MongoDB facilitates rapid application development. Software developers with little-to-no experience in creating a fully normalized SQL…

How to Download a YouTube Video With Java

How would you like to download a YouTube video within a Java application? If so, then read on. Fortunately, it’s not that complicated. You’ll need the aid of a library, though. Also, there are some caveats. For starters, it looks like this code downloads video and audio separately on older YouTube videos. Additionally, you might…

Add Charts to Your Spring Boot App With Highcharts!

Sometimes a chart is worth a thousand words. If you’re developing a business app with an administrative console, it’s likely that you’ll want to show your admins one or more charts. That way, they can get a quick overview of key metrics. As a Spring Boot developer who’s focused heavily on back-end code, you might…

How to Set up Internationalization on Spring Boot

It’s a global economy. That’s why it’s a great idea to set up your Spring Boot app with internationalization. Once you go international, you can reach more people in their native language. That’s a great way to increase your market share and build brand-name awareness. Fortunately, Spring Boot makes it easy to implement internationalization. In…

How to Run Spring Boot With an Apache Web Server Front End

If you’re running a Spring Boot application, it’s generally a great idea to set it up with an Apache Web Server front-end. Why? Because a front-end web server offers the following benefits: Better load-balancing for high-throughput applications Speedier delivery of static content Easier configuration of security features Access to additional functions provided by Apache modules Fortunately,…

Java 8: How to Read a File As a Stream

When, in the course of human events, it becomes necessary to read a text file, you should consider using a Stream. Why? Because a Stream gives you the opportunity to perform some on-the-fly operations that go beyond simple traversal. In this article, we’ll look at how you can use a Stream (with some other Java 8…

Java 8: How to Use forEach With Lambda Expressions

Looping is certainly not new to Java 8, but you can tighten up your code quite a bit with the forEach expression. And cleaner code is better, right? In this article, we’ll go over how to use forEach in your code as a substitute for one of the old for expressions. As is usually the…