In this last post about Java 9 modules we will take a closer look at some of the modules directives. We will explain what they mean and show the usage by means of an example. We will build upon the example used in part 1 and part 2, it is advised to read these posts before continue reading. The sources used in this post are available on GitHub in branch feature/modules-directives.
In this post we will take a closer look at Java 9 Modules. The focus lies on how modules affect us when using an IDE like IntelliJ and using a build tool like Maven. It is advised to read the post Java 9 Modules introduction (part 1). We will use the same example, starting with a single module application and afterwards converting it into a multi-module application. The examples used, can be found on GitHub.
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.
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
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.
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.
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”
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”