In this post we will introduce the Java Platform Module System (JPMS) which is the biggest change in the Java 9 release. In this post we will take a look at some basics of JPMS (Why do we need modules? What has changed to the JDK?). After that, we will take a look at how a single module application can be created, compiled and executed. At the end, we will take a look at how a multi module application can be created, compiled and executed. In this post we will only use command line tools. The examples used, can be found on GitHub.
Author: mydeveloperplanet
Java lambdas revisited
This week we will take a look at lambda expressions. We will take a look at some basics, show some of the standard functional interfaces, show how lambdas can be used with Streams and at the end it is shown how method references can be used. After reading this, you will have some basic knowledge of lambda expressions. The examples can be found at GitHub in the repository https://github.com/mydeveloperplanet/mylambdaplanet
The Scrum Guide 2017 update
On the 7th of November 2017, a new version of The Scrum Guide is released by Ken Schwaber and Jeff Sutherland. Since most of us are working in an agile/scrum environment, it is good to take a closer look at the changes that were made to the guide. Per section I will try to highlight the major changes. You can also look at the revision history of the guide itself where the changes are listed. The revision history of the guide only mentions the high level changes, but more textual changes are made to the guide than mentioned in the revision history.
Java 9: Collections, Streams
In this second post about Java 9, we will focus on changes in the Collections and Streams API in the Java language. Examples can be downloaded via the following git repository: https://github.com/mydeveloperplanet/myjava9planet . The examples in the post below can be executed with JShell, the examples on GitHub contain the examples with unit tests.
Java 9: Introducing JShell
The first post in the series of Java 9, which I announced a few weeks ago, will be about JShell. JShell is the REPL (Read-Eval-Print loop) tool for the Java language. The tool allows you to test snippets of code outside of your IDE. In this introduction, we will explore some of the features of JShell.
Versions Maven Plugin
Encounter difficulties keeping your dependencies and plugins up-to-date into your Maven POM file? The Versions Maven Plugin is a Maven plugin which provides you the information of which libraries could be updated. In this post some of my experiences with the plugin. Continue reading “Versions Maven Plugin”
Installation Eclipse with Java 9
Java 9 has been released recently. The upcoming posts will be dedicated to Java 9 and the new features it has to offer. First post in this series is installation of Eclipse with Java 9. If you are using IntelliJ, just install IntelliJ, locate the java 9 SDK and you can start right away. Continue reading “Installation Eclipse with Java 9”
Combine git repositories
Sometimes, you make a mistake and you start with a lot of git repositories that actually belong to each other and are dependent of each other. You are stuck with these git repositories and you want to combine them into one git repository. But, you don’t want to lose your git history. I suggest, in order to avoid these problems, to start with one git repository when you do not have good reasons to split an application into more repositories. It is easier to split repositories than to combine them and working with one git repository makes the administration a lot easier. However, if you are stuck with too many repositories and want to get rid of them, the guide below will help you. Continue reading “Combine git repositories”
Connect with git repository in Android Studio
In this post I will explain how you can get started with Android Studio 2.3.3 from an existing git repository. As git hosting platform, I am using gitlab.com, but it will be the same procedure to follow from any other git hosting (or local) platform. Continue reading “Connect with git repository in Android Studio”
First blog post
This is my first blog post. My goal is to post every two weeks tips in the area of software development.