So we had a previous episode where we show a party trick with GraalVM, where we saw how to create a Native Image. It was really the "hello world" of Native image creation, so Bob decided that's not good enough!
In this epidose we dive a little deeper on how to actually run your Restful Web service (or other app) natively, going through the exercise of debugging GraalVM builds including adding Maven plugins, finding out how to quelch the different reflection errors and how to deal with resources (and those pesky JNI / so libs).
In all, this is more of actually a practical use of GraalVM, not just a "it can do it", but more, how is it done. So want ludicruos startup speed and performance? then press play and listen!
http://www.javaoffheap.com/datadog
We thank DataDogHQ for sponsoring this podcast episode
Don't forget to SUBSCRIBE to our cool NewsCast OffHeap!
http://www.javaoffheap.com/
GraalVM Native Image Options
https://www.graalvm.org/reference-manual/native-image/Options/
Maven GraalVM Native Image Plugin
https://www.graalvm.org/reference-manual/native-image/NativeImageMavenPlugin/
Apache HttpComponents
http://hc.apache.org/
https://www.graalvm.org/docs/getting-started/linux/
GraalVM Resources
https://www.graalvm.org/reference-manual/native-image/Resources/
Build Configuration
https://www.graalvm.org/reference-manual/native-image/BuildConfiguration/
GraalVM Example Code
https://github.com/bobpaulin/javapubhouse-graal-episode/
https://github.com/bobpaulin/opencv-1/tree/feature/add-native-image
GraalVM Native Image InvalidAlgorithmParameterException
https://github.com/oracle/graal/issues/768
Do you like the episodes? Want more? Help us out! Buy us a beer!
https://www.javapubhouse.com/beer
And Follow us!
https://www.twitter.com/javapubhouse
Episode 104. It's all about Apache Tika, the project that lets you index EVERYTHING.
Episode 103. Let's share data cross-language with Apache Arrow! (among other things)
Episode 102. Oh my... Spring Boot 3 is out! An interview with Dan Vega from the Pivotal Team!
Episode 101. Allright, let's talk about Kafka
Episode 100. To the CLOUD... Which one? All of them!
Episode 99. SHHH! It's a secret! (Storing API Keys / Passwords / tokens!)
Episode 98. It's HERE, FINALLY HERE! Java 17 LTS Release
Episode 97. Hey there Scala 3! Looking good with those new Features!
Episode 96. Watching Metrics w/Micrometer and Statsd
Episode 94. Oh, put on your hat Dr. Watson, we are sleuthing this Heap Dump
Episode 93. Not your Grandpa's Serialization Part DEUX!
Episode 92. Not your Grandpa's Serialization!
Episode 91. OracleJDK? OpenJDK?, Zulu? Corretto? So many!
Episode 90. Let's get Recording (AND VIDEO!)
Episode 89. Kubernetes! (Oh container orchestration)
Episode 88. Logging! (An Interview w/Renaud from DataDog)
Episode 87. Ok, it's time to get Reactive!
Episode 86. Move Over Slow Startup times, GraalVM...IS...HERE. (and cross-language support, and less memory footprint...)
Episode 85. Monitor the World with JMX!
Create your
podcast in
minutes
It is Free
Insight Story: Tech Trends Unpacked
Zero-Shot
Fast Forward by Tomorrow Unlocked: Tech past, tech future
Black Wolf Feed (Chapo Premium Feed Bootleg)
Bannon`s War Room