Oracle has recently launched Helidon 4, the latest iteration of its microservices framework tailored for Java, highlighting a server implementation that leverages virtual threads to enhance performance significantly. Unveiled on October 24, Helidon 4 can be accessed through helidon.io, which also includes a comprehensive migration guide. Prior to Helidon 4, the framework’s web server was built on Netty and utilized a reactive API. However, Version 4 introduces a new server internally named Nima, optimized to harness the capabilities of Java 21 virtual threads. This design aims to simplify the development and maintenance of high-throughput concurrent applications.
The adoption of virtual threads marks a departure from treating threads as scarce resources to viewing them as readily available assets that can be dynamically generated to handle an extensive number of concurrent requests. This paradigm shift is expected to streamline the development of robust and scalable microservices architectures within the Java ecosystem. Moreover, Helidon 4 integrates with Helidon MP, which now supports the Eclipse MicroProfile 6.0 enterprise Java microservices architecture. This ensures compatibility and facilitates the adoption of industry-standard practices for building cloud-native applications.
To leverage Helidon 4, developers need Java 21 or newer, underscoring Oracle’s commitment to harnessing the latest Java capabilities for optimal performance and scalability in microservices development. Helidon is positioned as an open-source suite of cloud-native Java libraries specifically designed for crafting microservices that operate efficiently on a high-performance web core driven by Java virtual threads. The framework offers two distinct flavors: Helidon SE, which provides a lightweight microframework approach with minimalistic features, and Helidon MP, catering to enterprise Java developers with a declarative programming style and dependency injection support.
Overall, Helidon 4 represents Oracle’s dedication to advancing Java-based microservices development by embracing modern concurrency paradigms and aligning with industry standards. By enhancing performance through virtual threads and supporting MicroProfile specifications, Helidon 4 aims to empower developers to build scalable and resilient microservices architectures that meet the demands of cloud-native environments effectively.
Oracle has released the production version of Helidon 4, a microservices framework for Java featuring a server implementation harnessing virtual threads for higher performance.
Version 4 was announced October 24; instructions can be found at helidon.io. There also is a migration guide. Before Helidon 4, the project’s web server utilized Netty as its foundation and used a reactive API. Release 4 introduces a new server, internally called Nima, designed to harness the capabilities of Java 21 virtual threads. It is intended to reduce the effort needed to write and maintain high-throughput concurrent applications. Using virtual threads is a shift from managing threads as a limited resource to considering them as readily available assets that can be generated on demand to handle an almost limitless number of concurrent requests. Also with Helidon 4, Helidon MP now supports the Eclipse MicroProfile 6.0 enterprise Java microservices architecture.
Java 21 or newer is necessary for using Helidon 4. Helidon is described by proponents as an open source set of cloud-native Java libraries for writing microservices to run on a fast web core, powered by Java virtual threads. There are two flavors: Helidon SE, which provides a microframework model with a small footprint and limited functionality, and Helidon MP, which offers a platform familiar to enterprise Java developers and features a declarative style with dependency injection.