Talk

Unleash the power of your applications with Micronaut and GraalVM
Conference (BEGINNER level)
Room 3
Score 0.16
Score 0.18
Score 0.19
Score 0.19
The match becomes increasingly accurate as the similarity score approaches zero.

In this talk, Micronaut committer Álvaro Sánchez-Mariscal, will demonstrate how you can quickly build optimised Microservices with Micronaut & GraalVM Native Image. Attendees will learn how the combination of GraalVM Native Image and Micronaut can lead to efficient, highly performant, and optimised applications that can be perfectly deployed to environments like Kubernetes or serverless platforms.

There will be a live coding demo of an application using Micronaut Data and GraalVM.

Álvaro Sánchez-Mariscal
Oracle

Álvaro is a passionate developer and agile enthusiast with over 21 years of experience. He is now a Principal Member of Technical Staff at Oracle Labs, where he is a Micronaut committer, helping to maintain and evolve the open-source framework.

Before that, he was a Staff Engineer at VMWare, where he led the creation of new products to build, package, verify and publish software solutions with confidence in the VMware Marketplace. Previously, he spent some years working in different industries like gambling games (Odobo) and fintech (4Finance). Prior to that, he created his own company, Salenda, in 2005, a software factory and Atlassian Solution Partner headquartered in Madrid, Spain. Adaptavist acquired Salenda in 2019. Previously, he worked at companies like IBM BCS, Sun Microsystems or BEA Systems, where he was recognised as BEA Technical Director, an MVP awards program. He was also one of the initial founders and member of the Board of Directors of javaHispano in 2002, the world's largest Spanish-speaking Java User Group.

Álvaro has spoken in 13 different countries at conferences like Devoxx BE, GeeCON, JavaLand, JavaZone, Codemotion and Commit Conf. In his spare time, as well as coding and experimenting with new technologies, he likes to spend time with his wife and children, support CD Leganés football team, and play paddle tennis.

Generated Summary
WARNING: This summary was generated using GPT based on the transcript, as a result spelling mistakes and more importantly hallucinations can be present.

Alberto Sanchez and the Microsoft Framework
Overview of the Framework
Alberto Sanchez is a Java developer from Madrid who works at Oracle Labs. He has been working on the framework called Microsoft since 2017, which was originally called Name Particle. To make the framework faster, he uses Java Annotation Processors to generate code ahead of time without reflection or proxy generation. This makes the framework highly optimized and faster than traditional Java Frameworks like Spring and Jakarta EE. Micronut is a general purpose framework that can be used with any language, build tool, test framework, reactive library, or cloud. It currently runs on version 3 and is actively working on version 4. Version 4 will bump the minimum Java version to 17 and will include a new feature called Microsoft Control Panel that displays information about a running application. There are also features such as dependency injection, expression support, configuration support, validation support, AOP module, and an annotation programming model.
Integrations with Other Technologies
Macronaut provides an alternative quality HTTP client and supports major technologies for data access, security, distributed configuration, monitoring, etc. Macronaut is also integrated with Gravvium, an open JDK distribution which has an additional component called native image. Using native image, applications can start dramatically fast and have lower memory consumption. Macronaut is ready for Gravvium since day one and there are licensing benefits in the enterprise version. Oracle, VMware, and Redcat have come together to create a single metadata repository for libraries such as Neti. This repository will be used for configuration metadata support for Java frameworks. Tooling support for this repository includes native filters build plugins for Maven and Gradle, as well as an extension pack for Visual Studio code. AWS has also published a use case demonstrating how DC Plus uses Magnet and GraalVM for serverless computing.
Application Demonstration
Finally, a demo was presented showing an application using Magnet and GraalVM, which is a football team management application. This project extends an existing application to create a Team API interface. This interface has two methods - one for finding a team by ID and one for getting a list of teams. The controller is implemented to listen on the path variable and uses the repository dependency. The application can be run with Maven or Gradle plugins which use hot reloading. A test class is also created to spin up an instance of the application on a random port and send HTTP requests to it. This demo shows how the testing experience with the GravVM framework can be incredibly fast, with a functional test running in 437 milliseconds. The native image compilation also only takes one minute. The framework is designed to start required containers for both tests and local development, and it supports test container configuration for multiple scenarios.
Comparing Other Frameworks
Quarkus and Microprofile are both application frameworks that attempt to solve the problem of changing application frameworks over time. They both use annotation processors, but have subtle differences in their features, such as better support for GraalVM and OpenShift. Oracle has contributed to the OpenJDK project with a Native Image component, which will be available for free in the future.
Conclusion
Overall, these frameworks offer great performance improvements and are a great way to move Java forward. Alberto Sanchez and the Microsoft Framework provide an optimized and fast platform for Java application development with its use of Java Annotation Processors, Gravvium integration, and Native Image component.
You can also ask questions on the complete talk using Devoxx Insights