Developer Partner Community

A 30MB native image with Helidon to run REST based microservices by Uday Tatiraju

Juergen Kress
PaaS Partner Adoption

You must have heard about the new kid on the block––Helidon from Oracle. It is an open source Java framework that enables one to write, among other things, lightweight microservices using functional and reactive programming paradigms. One can use Helidon’s simple yet powerful core reactive web server to quickly build cloud native microservices. And if you like writing applications using the 12 factor methodology, Helidon has you covered. Helidon’s config component provides multiple options to load and configure your app — from loading properties or YAML files to loading from external sources like Git. Out of the box metrics and tracing you ask…you got it!

In this article, I will take Helidon for a spin and build a sample CRUD microservice that will be exposed as a JSON REST API. We will then use jlinkto create a custom native image that can run our microservice. Native image obviates the need for a full blown JRE. Trimming the size of the runtime and reducing the attack surface are important factors in cloud deployments. Of course, there are some cons to this approach but let’s table that for another day. Read the complete article here.


Developer Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( 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

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.