Graal Development Kit for Micronaut

Build portable cloud native Java microservices that start instantly and use fewer resources to reduce compute costs.

The Graal Development Kit for Micronaut (GDK) is a curated set of open source Micronaut® framework modules designed from the ground up for ahead-of-time compilation with GraalVM Native Image, resulting in native executables ideal for microservices.

Benefits of the Graal Development Kit for Micronaut

Multicloud portability (13:13)

Write applications once and run them on any public cloud. Develop applications without worrying about cloud-proprietary APIs and libraries, and thus prevent cloud lock-in.

Faster and cheaper (3:03)

Graal Development Kit for Micronaut applications compiled by GraalVM Native Image start instantly, provide peak performance with no warm-up, and have a small memory footprint.

Developer productivity (20:37)

Reduce development time with out-of-the-box cloud service integrations and compile-time validation that detects errors at build time, not runtime.

Supported on OCI (3:53)

Run Graal Development Kit for Micronaut applications in production on Oracle Cloud with full commercial support at no additional charge.

  • What is Graal Development Kit for Micronaut?

    The Graal Development Kit for Micronaut is a build of a curated set of Micronaut framework modules for creating portable, cloud native microservices that can be compiled ahead of time by GraalVM Native Image.

    Learn about the GDK
  • GDK module guides

    The Graal Development Kit for Micronaut modules provide platform-independent support for a collection of core cloud services including object storage, secret management, streaming, and more. Use the guides to learn about each module.

    Browse the GDK guides
  • Try a Hands-On Lab

    Learn how to build cloud-portable Java applications that use Oracle Cloud services with the Graal Development Kit for Micronaut.

    Try the GDK Hands-On Labs

Graal Development Kit for Micronaut—Learn why using the GDK with Oracle Cloud is such an easy choice

Additional resources

MuShop: A large cloud native reference application

MuShop for Micronaut is a showcase using several Oracle Cloud Infrastructure services in a unified application. MuShop was originally written to demonstrate a variety of cloud services using multiple programming languages and frameworks. Oracle has ported MuShop to use Java, the Micronaut framework, and GraalVM Native Image to demonstrate that GDK improves developer productivity, efficiency, and cloud portability.

MuShop implements microservices compiled by GraalVM Native Image into native executables deployed to Kubernetes. MuShop, a reference to ecommerce, is composed of nine microservices. You can run MuShop locally using Oracle Database in a container by using docker-compose. The preferred option is to deploy it to Oracle Cloud and then leverage services such as Oracle Container Engine for Kubernetes, Oracle Autonomous Transaction Processing, Oracle Functions, and a complete networking stack.

MuShop resources

MuShop on GitHub

Micronaut

The Micronaut framework provides Java developers with a huge productivity boost. By avoiding runtime reflection in favor of annotation processing, Micronaut improves the Java-based development experience by detecting errors at compile time instead of runtime, and improves Java-based application start time and memory footprint.

Connecting to Autonomous Database with Micronaut (3:53)

Example: Deploy a Micronaut Function (Serverless) to Oracle Cloud

Example: Deploy a Micronaut HTTP API Gateway Function (Serverless) to Oracle Cloud

Example: Access an Oracle Autonomous Database with Micronaut

GraalVM

GraalVM’s advanced optimizing compiler technology can accelerate any Java workload running on the HotSpot JVM, but GraalVM Native Image’s ahead-of-time compilation provides a whole new way to deploy Java applications ideal for containerization. At build time, GraalVM Native Image analyzes a Java application and its dependencies to identify just what classes, methods, and fields are absolutely necessary and generates optimized machine code for just those elements.

GraalVM Native Image—Faster, Smarter, Leaner (46:11)

Try the free lab: Accelerate Applications in OCI with GraalVM

Micronaut® is a registered trademark of Object Computing, Inc. Use is for referential purposes and does not imply any endorsement or affiliation with any third-party product.