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

image

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.