Get it while it’s hot. Java 9 is out!

After a few delays Java 9 is finally out and I am excited!

After a few delays, Java 9 has finally been released. This is the first major release of Java since March 2014. 

Java 9

Java 9 is headlined by Jigsaw which is Java’s new modularity system. This is a huge change to how we will write Java programs going forward but there are also a lot of other great features being released in 9. In this article, we will talk briefly about some of the highlights in Java 9.

Groovy: What happens when you assign a BigInteger to an Integer

Have you ever tried assigning to large of a number to an Integer?

This question came in from a student in my Apache Groovy Development Course. It was actually quite interesting because it tripped me up at first before I understand what was going on behind the scenes. 

The Complete Apache Groovy Developer Course

The student was asking why when they created an integer but assigned to large of a number to it did the results end up like this.

3 YouTube Channels for Java Developers

A quick look at 3 YouTube Channels I think you should subscribe to right now

I think if I was given the choice to only keep a single website around I would have to go with YouTube. I love it for both entertainment and education and I love creating content on my channel. 

YouTube

I am going to share with you 3 YouTube channels I think you should subscribe to. The reason I chose these 3 is that they have all put out some really great content lately. 

How to kill Java process on mac OS Sierra using Activity Monitor

Using Activity Monitor to kill Java Process on mac OS

Last week I wrote an article on the improvements in Spring Boot 1.4 of startup errors. Specifically, we saw that we got a really informative error message when we try and run an application and port 8080 is already in use. 

I received a question from a reader that went like this 

“I get the port 8080 is already in use error from time to time and I am not sure how to fix it, what can I do?” 

This is actually pretty easy to fix and happens to all of us. In this short article, I will show you how to do it on macOS and link to another article I wrote on how to do this on Windows. 

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. 

What is JHipster & Why you need to start using it today!

A look at one of my favorite open source projects around.

In today’s post, I want to talk to you about one of my favorite open source projects around, JHipster. In short, JHipster is a Yeoman Generator used to create a Spring Boot and Angular project. When you get past building sample and demo projects there is a lot of different technologies and stacks that go into building a scalable, complete and modern web application. 

Greetings Java Hipsters

The goal of the project is to generate for you a complete and modern Web app, unifying:

  • A high-performance and robust Java stack on the server side with Spring Boot
  • A sleek, modern, mobile-first front-end with Angular and Bootstrap
  • A powerful workflow to build your application with Yeoman, Webpack/Gulp and Maven/Gradle

Getting Started with Java 9

Java 9 might not be out yet but that doesn't mean you can't start playing with it today

I don’t know about you but I love to play around with pre-releases of software. There is something really fun being one of the first to use a new feature and learn how the new release is going to make our lives as developers a little bit easier. Java 9 is coming soon and I am really looking forward to some of the new features. 

Java 9

Java 9 has had a couple of delays to date but as I am writing this article (April 2017), it is set to be released in July 2017. There are so many great features in Java 9 and you don’t have to wait until July to start checking them out today. In this article, we will go through a quick tutorial on where to get Java 9 and how to get yourself setup. 

Java: What is the difference between equals and ==

This is one of those things that can stump newbies and veterans

This is going to be a fun and personal post for me. The problem that we are going to look at in this article is something we are taught as young software developers. 

Java Equals vs '=='

I saw this question on a facebook group that I am a part of and I made the same mistake at work debugging a critical ticket. If you want to find out what trips up newbies and veterans alike, continue reading this article.