Java programs as native executables: GraalVM is the answer! By Rosanna Denis



•    Using GraalVM Java applications can be compiled into native standalone executables (will be demonstrated).
•    Native executables of small Java programs startup blazingly fast, use considerably less resources compared to running on JVM and do not even require the JRE or any other kind of runtime apart from the OS.
•    Running Java applications as native standalone executables provides opportunities for lean usage of Java in serverless functions, cloud deployment and microservices.

GraalVM, Please Explain

GraalVM started over decade ago as a Sun Microsystems research project. It was subsequently adopted by Oracle Labs and has now reached a stage where it can go out into the wild. GraalVM is a polyglot VM, meaning it can run programs in many different languages at faster paces, usually, than the original specialized runtimes. It allows for interoperability between diverse components in distinct languages as well. For more information see their website.

GraalVM is stated to be(come) the one VM to rule them all. Sounds promising, right? Well, it is! And it’s in active development, so if it’s not perfect yet, you can wait for it to shortly provide what you need!

Java Moving in a Forward Direction

Java is a considered a heavy language – meaning that it is resource intensive. Applications are large – on disk and in memory – and startup time is drawn-out. Already improvements have been made in the newer versions of Java, such as the modular Java runtime (Java 9) and the currently experimental ahead-of-time compiler (jaotc, using Graal) tool in Java 9 (based on JEP 295). Now with GraalVM it’s possible to convert a Java application into a standalone native executable that does not need a Java runtime at all. Read the complete article here.

Developer Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.