Real World Java 9

Trisha Gee, developer advocate at JetBrains talks about new interesting features of Java 9
15 October 2017   1115

The feature we always hear about whenever Java 9 is in the news is Jigsaw, modularity. But this doesn't scratch the same developer itch that Java 8's lambdas and streams did, and we're left with a vague sensation that the next version might not be that interesting.

Java 9 actually has a lot of great additions and changes to make development a bit nicer. These features can't be lumped under an umbrella term like Java 8's lambdas and streams, the changes are scattered throughout the APIs and language features that we regularly use.

In this presentation Trisha Gee shows, via live coding:

  • What the Java Platform Module System is and how to make your code modular
  • How we can use the new Flow API to utilise Reactive Programming
  • The improvements to the Streams API that make it easier to control infinite streams
  • How to the Collections convenience methods simplify code

Along the way we bump into other Java 9 features, including some of the additions to interfaces and changes to deprecation.

Sonatype to Create Vulnerability Checker Tool

New tool is called DepShield andĀ available in the "Security" section of the GitHub Marketplace
16 August 2018   102

Sonatype has introduced a tool for developers called DepShield, which checks the code on GitHub for vulnerabilities.

The free version of the service is looking for vulnerabilities in the OSS Index database and gives recommendations on how to fix them. In the commercial version, you can configure automatic fixing of problems. Also in DepShield there are:

  • work with the Apache Maven framework;
  • View a list of known vulnerabilities in GitHub's Issue Tracker;
  • determine the range of versions for each vulnerability.

DepShield
DepShield

DepShield is available in the "Security" section of the GitHub Marketplace.

GitHub has introduced two new features that will help improve security and simplify the recovery of accounts. For this, the company recommends setting a strong password and two-factor authentication.