Email Icon   Forward to a friend
Oracle Logo
Java Magazine
The big in-memory data grid goes open source

Week of August 17, 2020
It’s big news: There’s now an open source version of Oracle Coherence, the high-scale in-memory data grid—Coherence Community Edition (CE), available on GitHub and on Maven Central.

In the first of a series of articles, Oracle architect Aleks Seović takes us deep inside Coherence CE, going far beyond the example applications to highlight how it works with the Helidon REST service, server-sent events and, well, lots more.

Also this month: Java guru Andrew Binstock shows us how to deduplicate files in a storage system by using a small command-line utility.

And quizzes! Simon Roberts and Mikalai Zaikin test your knowledge of using PreparedStatement to perform database CRUD operations, using the Optional class, and distributing applications with a custom JRE using the modular SDK.

By the way, the Oracle Groundbreakers Tour LATAM 2020 Java Track is taking place on August 26. The program, which is sponsored by many Latin America user groups, and is open to everyone globally, has sessions by Java Champions Cesar Hernandez, Victor Orozco, Jorge Vargas, Otavio Santana, Loiane Groner, Mohamed Taman, and Hillmer Chona. Register here.

Take care,
Alan Zeichick
Editor in Chief, Java Magazine
@zeichick
The newest stuff
Hello, Coherence Community Edition: Creating cloud native stateful applications that scale, Part 1
Coherence CE may often be the best option you have when building modern, cloud native applications and services. This article by Oracle architect Aleks Seović explores Coherence CE and shows how the open source library works with the Helidon REST service, server-sent events, the gRPC server, JavaFX, and React.

The joy of writing command-line utilities: Finding duplicate files, Part 1
Writing command-line utilities for your own use is an agreeable and productive way to explore Java and create side projects that you will actually finish, explains Java guru (and former Java Magazine editor in chief) Andrew Binstock. In this new article series, you’ll learn how to write such a utility to scale a file system for duplicates by using interesting Java APIs.
Hot-off-the-press quizzes
Try the latest intermediate and advanced Java quizzes from Simon Roberts and Mikalai Zaikin:

The slightly older stuff
Java frameworks for the cloud: Establishing the bounds for rapid startups
Many frameworks offer the functionality needed to create a web application that can respond to HTTP requests. How do you pick the best one? Practical wisdom suggests you should stick to the framework your team knows best and one that is popular enough that it’s easy to find other people who know it sufficiently well. However, as Oleg Šelajev explains, some of the differences can really affect the performance of real-world microservices and applications.

Get started with JavaFX on Raspberry Pi
The inexpensive Raspberry Pi single-board computer is the ideal starting point for experimenting with electronic components—and you can combine that affordable hardware with the software tools you use every day. This article by Frank Delporte walks through the steps needed to build a running JavaFX application on the device.

The Java Optional class: 11 more recipes for preventing null pointer exceptions
Building on his previous article, Mohamed Taman shares 11 more recipes, antipatterns, and design smells to help everyone use the Optional class more effectively. Not only do these recipes help make code more readable, but they also eliminate unpleasant (and disastrous) side effects.

How to write your own Maven plugins
Many tools Java developers use every day can be extended with plugins, which are small pieces of new functionality that deeply integrate with the tool to provide useful features. Coders often use prewritten plugins—but it’s easy to create them as well. Since many tools used by Java developers are written in Java, so are the plugins. Arjan Tijms teaches us how to create such plugins for Maven.

Java Card 3.1 explored
Java Card 3.1 is a major update of the Java Card SDK. A key goal of this release is to ensure the availability of security services on a large range of heterogeneous secure hardware, including smartcards, embedded chips, secure enclaves, and removable SIM cards. Last year, Nicolas Ponsini described many of the services available in the new release. In this article, he digs deeper into the deployment model, core features, and cryptography extensions.

Streaming analytics with Java and Apache Flink
Eric Bruno explains that with IoT and edge applications, some analytics approaches and frameworks use minibatch processing to approximate real-time analytics. This article explores the use of Apache Flink with a built-in complex event processing engine for a low-latency, real-time streaming analytics solution.
Complimentary subscription to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.

Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.
Stay connected
Facebook Twitter RSSfeed