What is Jib?

Jib allows Build container images for your Java applications
10 July 2018   691

What is Jib?

Jib builds Docker and OCI images for your Java applications and is available as plugins for Maven and Gradle.

Jib as a container-building library for Java is work-in-progress.

Goals

  • Fast - Deploy your changes fast. Jib separates your application into multiple layers, splitting dependencies from classes. Now you don’t have to wait for Docker to rebuild your entire Java application - just deploy the layers that changed.
  • Reproducible - Rebuilding your container image with the same contents always generates the same image. Never trigger an unnecessary update again.
  • Daemonless - Reduce your CLI dependencies. Build your Docker image from within Maven or Gradle and push to any registry of your choice. No more writing Dockerfiles and calling docker build/push.

How Jib Works

Whereas traditionally a Java application is built as a single image layer with the application JAR, Jib's build strategy separates the Java application into multiple layers for more granular incremental builds. When you change your code, only your changes are rebuilt, not your entire application. These layers, by default, are layered on top of a distroless base image.

Learn more at GitHub

Oracle to Announce Java SE 11 & Java Development Kit 11

As reported, support for Java 8 will end in December 2020, and Java 10 won't receive any updates
27 September 2018   561

Oracle developers announced the release of the Java 11 standard and its implementation of the JDK (Java Development Kit) with a long support period up to 2026. It is fully compatible with previous versions. Support for Java 8 will end in December 2020, and Java 10 won't receive any updates.

New in Java SE 11

  • Nest-Based Access Control system implemented
  • The .class format is complemented by the support for the CONSTANT_Dynamic forms, which are loaded by the creation of constants to the bootstrap method.
  • Added support for the latest version of the transport layer security protocol - TLS 1.3. It accelerates the loading of mobile web pages, and also filters out old, vulnerable cryptographic primitives, replacing them with more complex encryption algorithms.
  • Standardized support for the HTTP Client API, introduced in the Java 9 incubator.
  • Epsilon garbage collector is launched in a test mode.
  • The Java EE and CORBA modules are removed from the JDK and the Java SE platform, and the Nashorn engine and the Pack200 tools are declared obsolete.
  • The JavaFX module is excluded from the kernel and is shipped separately.
  • Existing APIs are updated to support the Unicode 10 format.
  • Added tools for streaming low-level data on errors and problems.
  • Added the ability to run single-file programs that contain the source code.

More information about the changes can be found on the Release Notes page of JDK 11.

The previous, intermediate version of the standard and JDK 10 came out in March 2018. A set of development tools has received three new variants of Java virtual machines, the sharing of application classes and the support of the experimental Just-in-Time compiler on Linux / x64.