Angular 4 Java Developers Course is now Live!

I am so excited to finally announce the release of my new course.

I’m so excited to finally announce the release of my new course with John Thompson, Angular 4 Java Developers! In this course, you will learn how to build applications using some of the hottest technologies in the industry today, including Spring Boot and Angular. These are two of our favorite technologies to work with right now, it really makes developing applications a breeze.

Greetings, Java Hipsters!

In this introduction to the course, I am going to give you all of the details, as well as a special offer so please read the entire article. 

How to compile Groovy before Java in a Gradle Build

I had an interesting problem come up at work last week and I would like to share it with you today. A coworker was having an issue with a Gradle build. Whenever he tried to compile the project it threw an error saying it couldn’t find the Groovy class he was trying to call from Java.

compile groovy before java

In this article, we are going to walk through setting up a project that will illustrate this problem. We will then examine what normal behavior is in a Gradle build and how we can make a change to fix this problem that we were facing. 

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.

When to use Microservices over Monolithic Architecture

When should we start thinking about moving to a microservices based architecture

I am currently working on wrapping up a new section on MicroServices for my new course on JHipster. We could easily create a whole course around MicroServices alone so I am trying to keep this to more of an introduction. 

MicroServices

I think one of the questions I hear most is “When should I use a MicroServices architecture in place of a Monolithic application?”. In this article, we will review what both of these are as well as give some recommendations on when to use Monolithic and when to use MicrosServices. 

How to upgrade to the new Angular Command Line Interface (CLI) 1.3 release

The new Angular CLI release is out there, time to upgrade and use it.

 Angular CLI recently released its next major version, 1.3 (Hopper). There are some pretty great features in this release and I can’t wait to talk about a few of them here. 

Angular CLI 1.3

In this article, we are going to discuss how to check what version of the CLI you are running, how to upgrade and what new features 1.3 is giving us. 

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.

Using JHipster in Development mode

How to make changes to your Angular component templates in JHipster

I have been working really hard lately to wrap up my latest course on JHipster

JHipster in Development

In one of the exercises, I have the students create their own application. In this application, one of the requirements is to make UI changes. When working with Angular you have probably come to expect to see those changes automatically reflected in the browser. In this tutorial, we will look at how to work with JHipster in Development. 

How to add multiple dependencies with the Spring CLI

How do you add multiple dependencies when creating a new project with the Spring CLI

In this tutorial, we are taking a look at a student’s question from my Spring Boot Introduction Course. This question has to do with the Spring CLI which is a great tool that allows you to quickly prototype with Spring. 

Spring CLI

Hi Dan,
I have created the spring boot application through spring CLI in the same way you showed in the video but my question is, How can we add multiple dependencies in our application through spring CLI? You have shown it for only one dependency i.e “web” using -d option but what if we want to add more dependencies through CLI?
In this article, I am going to talk through what the Spring CLI, how to install it and use it and of course answer the question above. 

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.