<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dmitry Kornilov on Medium]]></title>
        <description><![CDATA[Stories by Dmitry Kornilov on Medium]]></description>
        <link>https://medium.com/@dkornilov?source=rss-6026f9734714------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QlVwjACynPBEjRS4h4ljIA.jpeg</url>
            <title>Stories by Dmitry Kornilov on Medium</title>
            <link>https://medium.com/@dkornilov?source=rss-6026f9734714------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:05:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dkornilov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Migrating a Spring Boot project to Helidon (Helidon Petclinic)]]></title>
            <link>https://medium.com/helidon/migrating-a-spring-boot-project-to-helidon-helidon-petclinic-f1d7281b736b?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d7281b736b</guid>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Thu, 06 Jun 2024 14:35:42 GMT</pubDate>
            <atom:updated>2024-06-06T14:35:42.214Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BmFbHYykbfzDH4E_77h6Aw.png" /></figure><p>In the Helidon support channels, we frequently encounter questions about migrating Spring Boot applications to Helidon. To address these inquiries, we concluded that creating a Helidon version of the well-known Spring Petclinic demo application and documenting the migration strategies and challenges would be the best approach. I volunteered for the task because of my previous experience with Spring programming and because I hadn’t engaged in real programming for quite some time, and I wanted to demonstrate that I still could. Whether I succeeded or not, you readers can decide after reviewing the work. Perhaps I shouldn’t have taken it on. You can find the result <a href="https://github.com/helidon-io/helidon-petclinic">here</a>. Anyway, enough philosophical musings; let’s get down to business.</p><p>You will learn about:</p><ul><li>The motivation behind writing this article</li><li>The architecture of the Spring Petclinic Rest project</li><li>The architecture of the Helidon Petclinic project</li><li>How to migrate the data module</li><li>How to migrate REST controllers</li><li>How to write tests</li><li>Interesting issues and pitfalls, along with their solutions</li></ul><p>Read the full article on <a href="https://dmitrykornilov.net/2024/06/01/migrating-a-spring-boot-project-to-helidon-helidon-petclinic/">Dmitry’s technical Blog</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d7281b736b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/migrating-a-spring-boot-project-to-helidon-helidon-petclinic-f1d7281b736b">Migrating a Spring Boot project to Helidon (Helidon Petclinic)</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helidon 3.0 is released]]></title>
            <link>https://medium.com/helidon/helidon-3-0-is-released-1bd2df1f999b?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd2df1f999b</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[helidon]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Tue, 26 Jul 2022 21:47:27 GMT</pubDate>
            <atom:updated>2022-07-26T21:47:27.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*y6LFy8R6DdJqbOXWXfn27A.png" /></figure><p>After two years of development, the Helidon team is proud to announce the release of Helidon 3.0!</p><h3>What’s new</h3><ul><li><strong>Java 17</strong><br>The minimum Java version is updated to Java 17 — the latest LTS release.</li><li><strong>MicroProfile 5.0 and Jakarta EE 9.1<br></strong>Helidon MP 3 implements the MicroProfile 5.0 Platform and selected Jakarta EE 9.1 specifications. In this release, we are dropping <strong>javax.*</strong> packages and fully-embracing <strong>jakarta.*</strong> packages. Oracle is committed to Jakarta EE; Helidon 3.0 is the first Oracle product using the <em>jakarta.*</em><strong> </strong>namespace, but we are just getting started! Soon, Coherence CE will add <em>jakarta.*</em> namespace support (September 2022).</li><li><strong>JEP-290 security hardening<br></strong>JEP-290 provides tools to harden security when deserializing objects using Java serialization. Helidon does not use Java serialization because of security concerns. For additional protection, in Helidon 3.0, any deserialization is disabled by default (it can still be used, but requires additional configuration).</li><li><strong>Updated Helidon SE routing API<br></strong>We <strong>c</strong>hanged the design of the multiprotocol part of the API, delivering improvements and simplifications when specifying routes for different protocols (websocket, HTTP/1, HTTP/2).</li><li><strong>Project Starter</strong><br>Project Starter is a new web UI for creating Helidon projects. It’s highly customizable, providing various options that allow users to select Helidon features they want to add to the project. End users will be able to generate projects to their specific needs. Check it out: <a href="https://helidon.io/starter">Helidon Starter</a>.</li><li><strong>Updated CLI<br></strong>Updated Helidon CLI brings all the benefits of the Project Starter to the command line, enabling users to enjoy customizable project generation without leaving the terminal.</li></ul><p>See the <a href="https://github.com/oracle/helidon/releases/tag/3.0.0">release notes</a> on GitHub for a full list of changes.</p><h3>How to Upgrade</h3><p>Upgrading Helidon SE applications from Helidon 2.X to 3.0 is straightforward. You may need to adapt the routing part of your application if you are using multiple protocols. See our <a href="https://helidon.io/docs/v3/#/se/guides/migration_3x">Helidon SE Upgrade Guide</a> for more information.</p><p>To upgrade your existing Helidon MP application, you will need to change to <em>jakarta.*</em> dependencies and address backwards compatibility issues (if there are any). See our <a href="https://helidon.io/docs/v3/#/mp/guides/migration_3x">Helidon MP Upgrade Guide</a> for more information.</p><h3>Feedback</h3><p>We would appreciate your feedback about this release. Contact us:</p><ul><li>WWW: <a href="https://helidon.io/">https://helidon.io</a></li><li>GitHub: <a href="http://github.com/oracle/helidon">http://github.com/oracle/helidon</a></li><li>Twitter: <a href="https://twitter.com/helidon_project">@helidon_project</a></li><li>Slack: <a href="https://slack.helidon.io/">https://slack.helidon.io/</a></li><li>Medium: <a href="https://medium.com/helidon">https://medium.com/helidon</a></li></ul><h3>Thanks</h3><p>Thanks to the Helidon Team and all external contributors for making this release possible.</p><p>The Helidon team includes:</p><p>Andrii Serkes, Arjav Desai, Daniel Kec, David Kral, Dmitry Aleksandrov, Dmitry Kornilov, Ed Bratt, Jeff Trent, Joe Di Pol, Keith Lustria, Laird Nelson, Lisa Jamen, Randy Stafford, Romain Grecourt, Santiago Pericas-Geertsen, Thibault Vallin, Tim Quinn, Tomas Langer</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd2df1f999b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/helidon-3-0-is-released-1bd2df1f999b">Helidon 3.0 is released</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helidon 2.1.0 is released]]></title>
            <link>https://medium.com/helidon/helidon-2-1-0-is-released-95c89d02367?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/95c89d02367</guid>
            <category><![CDATA[helidon]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Mon, 19 Oct 2020 19:17:03 GMT</pubDate>
            <atom:updated>2020-10-19T19:17:03.034Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hIQsZ872mvvEjaH-nacYPw.png" /></figure><p>I am proud to announce the Helidon 2.1.0 release. It’s a new minor release which introduces new features such as <a href="https://projects.eclipse.org/projects/technology.microprofile/releases/microprofile-3.3">MicroProfile 3.3</a> support, new <em>FaultTolerance </em>implementation and <em>@HelidonTest</em> annotation, as well as bug fixes and performance improvements. The new version is available in <a href="https://search.maven.org/artifact/io.helidon/helidon-bom/2.1.0/pom">Maven Central</a>. See the full list of changes in the <a href="https://github.com/oracle/helidon/releases/tag/2.1.0">release notes</a>.</p><h3>MicroProfile 3.3</h3><p>Supporting Microprofile is one of main project Helidon priorities. In version 2.1.0 we bring full <a href="https://projects.eclipse.org/projects/technology.microprofile/releases/microprofile-3.3">MicroProfile 3.3</a> support. MicroProfile 3.3 contains updated versions of the following specifications:</p><ul><li>Config 1.4</li><li>Fault Tolerance 2.1</li><li>Health 2.2</li><li>Metrics 2.3</li><li>Rest Client 1.4</li></ul><p>It’s a minor release with no backwards incompatible changes.</p><h3>New FaultTolerance implementation</h3><p>In this release we also introduced a new Helidon SE Fault Tolerance feature. This not only provides Helidon SE users a fault tolerance implementation, but it also replaces Hystrix in Helidon’s MicroProfile Fault Tolerance implementation. This is important because Hystrix is no longer under active development. For more information see the <a href="https://helidon.io/docs/v2/#/se/faulttolerance/01_faulttolerance">Helidon SE Fault Tolerance documentation</a>.</p><h3>Simplified testing of Microprofile applications</h3><p>Another interesting feature is new <em>@HelidonTest</em> annotation which simplifies testing of MicroProfile applications in JUnit 5 environment. This provides the lifecycle management of CDI and Helidon MicroProfile server, so your tests can focus on testing your application. Start with @HelidonTest annotation, and look for details in <a href="https://medium.com/helidon/testing-helidon-9df2ea14e22?source=collection_home---4------0-----------------------">Testing Helidon</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95c89d02367" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/helidon-2-1-0-is-released-95c89d02367">Helidon 2.1.0 is released</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where Helidon flies]]></title>
            <link>https://medium.com/helidon/where-helidon-flies-809007221f1f?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/809007221f1f</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[helidon]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[microprofile]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Wed, 05 Feb 2020 12:04:23 GMT</pubDate>
            <atom:updated>2020-02-05T12:04:23.992Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2VXjbggjZqXtmP32hHzHw.png" /></figure><p>Almost a year ago we released Helidon 1.0. Since then we have been actively working on improving Helidon performance and adding new features and support for new <a href="https://microprofile.io/">MicroProfile </a>specifications. We are planning to release Helidon 2.0 in Q1 CY2020 (this plan is subject to change), and today we have released the <a href="https://github.com/oracle/helidon/releases/tag/2.0.0-M1">first milestone build</a> including two major features: <em>GraalVM support in Helidon MP</em> and <em>Helidon DB Client</em>. Other features will be released as part of the next milestone releases.</p><p>Here is a list of all features planned for Helidon 2.0:</p><ul><li><strong>GraalVM support in Helidon MP (2.0.0-M1)<br></strong>This is one of the most requested features from our users. We already support GraalVM in Helidon SE. Adding it to Helidon MP will allow building native binaries from Helidon MP applications. This feature is a part of our 2.0.0-M1 build. Tomas Langer created a simple sample project to play with. You can find it <a href="https://github.com/tomas-langer/helidon-mp-native">here</a>.</li><li><strong>Helidon DB Client (2.0.0-M1)<br></strong>This new database client for Helidon SE adds a unified reactive database access API and allows you to work with JDBC databases in a reactive way. It also supports the MongoDB reactive driver. We are bringing Health Checks, Metrics and Tracing support to all Helidon APIs, and the Helidon DB Client is no exception. The preview version of Helidon DB client is included in the 2.0.0-M1 release. This <a href="https://github.com/oracle/helidon/tree/master/examples/dbclient/pokemons">sample</a> will help you to get started.</li><li><strong>MicroProfile Reactive Messaging and Reactive Operators support</strong><br>In Helidon 2.0 we are extending MicroProfile APIs support by adding implementations of two specifications which are optional in MicroProfile. <br><em>MP Reactive Operators</em> will be added to both Helidon MP and Helidon SE. <em>MP Reactive Messaging</em> will be added to Helidon MP only. An equivalent API will be added to Helidon SE that is designed to align better with Helidon SE APIs.<br>Also, we are planning to add a Kafka connector for Reactive Messaging as part of the Helidon 2.0 release and add more connectors in future.</li><li><strong>Websocket support<br></strong>We are extending Jakarta EE specifications support in Helidon. In this release we are adding WebSocket API support based on the well-known Tyrus implementation.</li><li><strong>Helidon Web Client</strong><br>One of the missing bits in Helidon SE was an HTTP client. In Helidon 2.0 we will introduce a reactive Helidon Web Client that is designed to integrate with other Helidon SE APIs.</li><li><strong>Helidon command line tool (CLI)<br></strong>The Helidon command line tool will help you create new Helidon based projects, add and remove features and dependencies, and build your application using different profiles (jar, native-image, jlink). It will also support live reloading.</li></ul><p>Helidon 2.0 also introduces some backwards incompatible changes. You can find more information in <a href="https://github.com/oracle/helidon/blob/2.0.0-M1/CHANGELOG.md">release notes</a>.</p><p>You can access the Helidon 2.0.0-M1 quickstart guides <a href="https://helidon.io/docs/2.0.0-M1/#/guides/01_overview">here</a>. Note that the 2.0.0-M1 docs are not the default documentation (since it is a pre-release). Those continue to be 1.4.x docs.</p><p>Please try the Helidon 2.0.0-M1 release and give us your feedback as a comment here, in our official <a href="https://twitter.com/helidon_project">Twitter</a> or in our official <a href="https://join.slack.com/t/helidon/shared_invite/enQtNDM1NjU3MjkyNDg2LWNiNGIzOGFhZDdjNzAyM2Y2MzlmMDI4NWY4YjE1OWQ2OTdkYTZkN2FlNDcxNmUyZmZmMTZhZmZhNWI2ZTI1NGI">Slack</a> channel.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=809007221f1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/where-helidon-flies-809007221f1f">Where Helidon flies</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MicroProfile 3.0 Support Comes to Helidon]]></title>
            <link>https://medium.com/helidon/microprofile-3-0-support-comes-to-helidon-f72ba752b42f?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/f72ba752b42f</guid>
            <category><![CDATA[microprofile]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[helion]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Sat, 14 Sep 2019 16:10:08 GMT</pubDate>
            <atom:updated>2019-09-30T18:24:04.805Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HTSUqc3Xk66vgJj9PAiMjA.png" /></figure><p>We are proud to announce a new version of Helidon 1.3. The main feature of this release is MicroProfile 3.0 support, but it also includes additional features, bug fixes and performance improvements. Let’s take a closer look.</p><h3>MicroProfile 3.0</h3><p>About a month ago we released Helidon 1.2 with MicroProfile 2.2 support. Since that time we made a step forward and brought MicroProfile 3.0 support.</p><p>For those who don’t know, <a href="https://microprofile.io/">MicroProfile</a> is a set of cloud-native Java APIs. It’s supported by most of the modern Java vendors like Oracle, IBM, Red Hat, Payara and Tomitribe which makes it a de-facto standard in this area. It’s one of the goals of Helidon project to support the latest versions of MicroProfile. The Helidon MicroProfile implementation is called Helidon MP and along with the reactive, non-blocking framework called Helidon SE it builds the core of Helidon.</p><p>MicroProfile 3.0 is a major release. It contains updated Metrics 2.0 with some backwards incompatible changes, HealthCheck 2.0 and Rest Client 1.3 with minor updates.</p><p>Although MicroProfile 3.0 is not backwards compatible with MicroProfile 2.2, we didn’t want to bring backwards incompatibility to Helidon. Helidon Version 1.3 supports both MicroProfile 2.2 and MicroProfile 3.0. Helidon MP applications can select the MicroProfile version by depending on one (and only one) of the following <em>bundles</em>.</p><p>For compatibility with MicroProfile 2.2:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.helidon.microprofile.bundles&lt;/groupId&gt;    <br>    &lt;artifactId&gt;helidon-microprofile-2.2&lt;/artifactId&gt;<br>&lt;/dependency&gt;</pre><p>For compatibility with MicroProfile 3.0:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.helidon.microprofile.bundles&lt;/groupId<br>    &lt;artifactId&gt;helidon-microprofile-3.0&lt;/artifactId&gt;<br>&lt;/dependency&gt;</pre><p>Backward compatibility with MicroProfile 2.2 implies that every existing Helidon application that depends on <em>helidon-microprofile-2.2</em> will continue to run without any changes. New applications created from the latest archetypes in Helidon 1.3 will depend on <em>helidon-microprofile-3.0</em>.</p><h3>Metrics 2.0 Support</h3><p>As mentioned above, MicroProfile Metrics 2.0 introduces a number of new features as well as some backward incompatible changes. The following is a summary of the changes:</p><ul><li>Existing counters have been limited to always be monotonic</li><li>A new metric called a concurrent gauge is now supported</li><li>Tags are now part of MetricID instead of Metadata</li><li>Metadata is now immutable</li><li>Minor changes to JSON format</li><li>Prometheus format is now OpenMetrics format (with a few small updates)</li></ul><p>The reader is referred to <a href="https://github.com/eclipse/microprofile-metrics/releases/tag/2.0.1">https://github.com/eclipse/microprofile-metrics/releases/tag/2.0.1</a> for more information.</p><blockquote><strong>Note</strong>: <em>There have been some disruptive signature changes in class </em>MetricRegistry<em>. Several getter methods now return maps whose keys are of type </em>MetricID <em>instead of String. Applications upgrading to the latest version of MicroProfile Metrics 2.0 should review these uses to ensure the correct type is passed and thus prevent metric lookup failures.</em></blockquote><p>Helidon SE applications that use metrics can also take advantage of the new features in Helidon 1.3. For example, MicroProfile Metrics 2.0 introduced the notion of concurrent gauges which are now also available in Helidon SE. To use any of these new features, Helidon SE applications can depend on:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.helidon.metrics&lt;/groupId&gt;<br>    &lt;artifactId&gt;helidon-metrics2&lt;/artifactId&gt;<br>&lt;/dependency&gt;</pre><p>Existing Helidon SE applications can continue to build using the older helidon-metrics dependency.</p><h3>HealthCheck 2.0 Support</h3><p>HealthCheck 2.0 contains some breaking changes. The message body of Health check response was modified, <em>outcome</em> and <em>state</em> were replaced by <em>status</em>. Also readiness (<em>/health/ready</em>) and liveness (<em>/health/live</em>) endpoints were introduced for smoother integration with Kubernetes.</p><p>The original <em>/health</em> endpoint is not removed, so your old application will still work without any changes.</p><p>New specification introduces two new annotations <em>@Liveness</em> and <em>@Readiness. </em>In Helidon SE we introduced two corresponding methods <em>addLiveness</em> and <em>addReadiness </em>and deprecated the original <em>add </em>method.</p><h3>JPA and JTA are Production Ready</h3><p>In earlier versions of Helidon we introduced an early access version of JPA and JTA integration. We received feedback from our users, fixed some issues and improved performance. In version 1.3 we are moving JPA and JTA support from Early Access to Production Ready.</p><p>We also created a <a href="https://helidon.io/docs/latest/index.html#/guides/24_jpa">guide</a> helping users to get familiar with this feature.</p><h3>Hibernate Support</h3><p>With 1.3.0 you can now use Hibernate as the JPA provider, or you can continue using EclipseLink. It’s up to you. The difference is one &lt;dependency&gt; element in your pom.xml.</p><p>For EclipseLink:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.helidon.integrations.cdi&lt;/groupId<br>    &lt;artifactId&gt;helidon-integrations-cdi-eclipselink&lt;/artifactId<br>    &lt;scope&gt;runtime&lt;/scope&gt;<br>&lt;/dependency&gt;</pre><p>For Hibernate:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.helidon.integrations.cdi&lt;/groupId<br>    &lt;artifactId&gt;helidon-integrations-cdi-hibernate&lt;/artifactId<br>    &lt;scope&gt;runtime&lt;/scope&gt;<br>&lt;/dependency&gt;</pre><p>As with our EclipseLink support, Helidon’s Hibernate JPA integration features full Java EE-mode compatibility, including support for EJB-free extended persistence contexts, JTA transactions and bean validation. It works just like the application servers you may be used to, but inside Helidon’s lightweight MicroProfile environment.</p><h3>GraalVM Improvements</h3><p>Supporting GraalVM is one of our goals. In each release we are continuously improving GraalVM support in Helidon SE. This version brings support of GraalVM version 19.2.0. Also now you can use Jersey Client in Helidon SE application and build a native-image for it.</p><p>Example code:</p><pre>private void outbound(ServerRequest request, ServerResponse response) {<br>    // and reactive jersey client call<br>    webTarget.request()<br>        .rx()<br>        .get(String.class)<br>        .thenAccept(response::send)<br>        .exceptionally(throwable -&gt; {<br>            // process exception<br>            response.status(Http.Status.INTERNAL_SERVER_ERROR_500);<br>            response.send(&quot;Failed with: &quot; + throwable);<br>            return null;<br>    });<br>}</pre><p>We also added a <a href="https://helidon.io/docs/latest/#/guides/36_graalnative">guide</a> explaining how to build a GraalVM native image from your Helidon SE application. Check it out.</p><h3>New Guides</h3><p>To simplify Helidon adoption process we added plenty of new <a href="https://helidon.io/guides/">guides</a> explaining how to use various Helidon features.</p><p>Getting Started</p><ul><li><a href="https://helidon.io/docs/latest/#/guides/02_quickstart-se">Quickstart SE</a></li><li><a href="https://helidon.io/docs/latest/#/guides/03_quickstart-mp">Quickstart MP</a></li></ul><p>Basics</p><ul><li><a href="https://helidon.io/docs/latest/#/guides/07_health_mp_guide">MP Health Check Guide</a></li><li><a href="https://helidon.io/docs/latest/#/guides/07_health_se_guide">SE Health Check Guide</a></li><li><a href="https://helidon.io/docs/latest/#/guides/09_metrics_mp_guide">MP Metrics Guide</a></li><li><a href="https://helidon.io/docs/latest/#/guides/09_metrics_se_guide">SE Metrics Guide</a></li><li><a href="https://helidon.io/docs/latest/#/guides/11_config_mp_guide">MP Config Guide</a></li><li><a href="https://helidon.io/docs/latest/#/guides/11_config_se_guide">SE Config Guide</a></li></ul><p>Persistence</p><ul><li><a href="https://helidon.io/docs/latest/#/guides/20_datasource">Using DataSources</a></li><li><a href="https://helidon.io/docs/latest/#/guides/22_jta">Using JTA</a></li><li><a href="https://helidon.io/docs/latest/#/guides/24_jpa">Using JPA</a></li></ul><p>Build and Deploy</p><ul><li><a href="https://helidon.io/docs/latest/#/guides/30_dockerfile">Creating Docker Images</a></li><li><a href="https://helidon.io/docs/latest/#/guides/32_jib">Building Container Images with Jib</a></li><li><a href="https://helidon.io/docs/latest/#/guides/34_Oracle_Kubernetes">Deploying to OKE</a></li><li><a href="https://helidon.io/docs/latest/#/guides/36_graalnative">Building Native Images with GraalVM</a></li></ul><p>Tutorials</p><ul><li><a href="https://helidon.io/docs/latest/#/guides/91_mp-tutorial">Helidon MP Tutorial</a></li></ul><h3>Other features</h3><p>This release includes many bug fixes, performance improvements and minor updates. More information about changes you can find in the <a href="https://github.com/oracle/helidon/releases/tag/1.3.0">release notes</a>.</p><h3>Helidon on OOW/CodeOne 2019</h3><p>Next week (Sep 16, 2019) Oracle Open World and CodeOne open doors for all attendees. Helidon is well covered there. There are some Helidon-related talks from Helidon team where we will introduce some new features like Helidon DB Client coming soon to Helidon as well as talks from our users covering different Helidon use cases. Here is a full list:</p><ul><li><strong>Non-blocking Database Access in Helidon SE [DEV5365]</strong><br>Monday, September 16, 09:00 AM — 09:45 AM</li><li><strong>Migrating a Single Monolithic Application to Microservices [DEV5112]</strong><br>Thursday, September 19, 12:15 PM — 01:00 PM</li><li><strong>Hands on Lab: Building Microservices with Helidon</strong><br>Monday, September 16, 05:00 PM — 07:00 PM</li><li><strong>Building Cloud Native Applications with Helidon [CON5124]</strong><br>Wednesday, September 18, 09:00 AM — 09:45 AM</li><li><strong>Helidon Flies Faster on GraalVM [DEV5356]</strong><br>September 16, 01:30 PM — 02:15 PM</li><li><strong>Helidon MicroProfile: Managing Persistence with JPA [DEV5376]</strong><br>Thursday, September 19, 09:00 AM — 09:45 AM</li></ul><p>See you on CodeOne!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f72ba752b42f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/microprofile-3-0-support-comes-to-helidon-f72ba752b42f">MicroProfile 3.0 Support Comes to Helidon</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helidon brings MicroProfile 2.2+ support]]></title>
            <link>https://medium.com/helidon/helidon-brings-microprofile-2-2-support-93d85bb4223e?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/93d85bb4223e</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[helidon]]></category>
            <category><![CDATA[microprofile]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 13:41:30 GMT</pubDate>
            <atom:updated>2019-08-08T13:41:30.273Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_hH5y2BNrVOHV7swMI6z7g.png" /></figure><p>We are pleased to announce the <a href="https://github.com/oracle/helidon/releases/tag/1.2.0">1.2.0 release</a> of Helidon. This release adds support for <a href="https://microprofile.io/2019/02/12/eclipse-microprofile-2-2-is-now-available/">MicroProfile 2.2</a> and includes additional bug and performance fixes. Let’s take a closer look at what’s in the release.</p><h3>MicroProfile</h3><p><a href="https://microprofile.io/">MicroProfile</a> is now a de-facto standard for Java cloud-native APIs. One of the main goals of project <a href="https://helidon.io/">Helidon</a> is to deliver support for the latest MicroProfile APIs. The Helidon MicroProfile implementation is called Helidon MP and along with the reactive, non-blocking framework called Helidon SE it builds the core of Helidon.</p><p>We have been adding support for newer MicroProfile specifications one by one during the last few releases. The 1.2.0 release brings <em>MicroProfile REST Client 1.2.1</em> and <em>Open Tracing 1.3</em>. With these pieces in place we now have full MicroProfile 2.2 support.</p><p>The full list of supported MicroProfile and Java EE APIs is listed on this image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/0*1hWDo2cEiIAJh4xi" /></figure><p>As you see, we added support for two more Java EE APIs: <strong>JPA (Persistence)</strong> and <strong>JTA (Transaction)</strong>. It’s in early access at the moment. You should consider it as a preview. We are still working on it and the implementation and configuration is subject to change.</p><p>Here are some examples of using new APIs added in Helidon 1.2.0.</p><h4>MicroProfile REST Client sample</h4><p>Register a rest client interface (can be the same one that is implemented by the JAX-RS resource). Note that the URI can be overridden using configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/03e663f811e1d1bc13451495e8ece1a0/href">https://medium.com/media/03e663f811e1d1bc13451495e8ece1a0/href</a></iframe><p>Declare the rest client in a class using it (such as a JAX-RS resource in a different microservice):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2cdf8dcded34e0dc8c58cd43cb5a24f2/href">https://medium.com/media/2cdf8dcded34e0dc8c58cd43cb5a24f2/href</a></iframe><p>And simply use the field to invoke the remote service (this example proxies the request to the remote service):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bbd7758efc08ddc95bbbff8eb71c7a3/href">https://medium.com/media/6bbd7758efc08ddc95bbbff8eb71c7a3/href</a></iframe><h4>Health Check 2.0 sample</h4><p><em>Health Check 2.0</em> has two types of checks (in previous versions a single type existed):</p><ul><li><strong>Readiness </strong>— used by clients (such as Kubernetes readiness check) to check if the service has started and can be used</li><li><strong>Liveness </strong>— used by clients (such as Kubernetes liveness checks) to check if the service is still up and running</li></ul><p>Simply annotate an application scoped bean with the appropriate annotation (<em>@Readiness </em>or <em>@Liveness</em>) to create a health check:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fd3197b0647352e1ab3631df8c32a418/href">https://medium.com/media/fd3197b0647352e1ab3631df8c32a418/href</a></iframe><h4>Open Tracing Sample</h4><p>MP Open Tracing adds a single annotation: <em>@Traced</em>, to add tracing to CDI beans.</p><p>Tracing of JAX-RS resources is automated (and can be disabled with the <em>@Traced</em>). Example of the bean used in the Health check example (the method <em>getMessage</em> is traced):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d7abe0c1709032a687359ac1c84098c1/href">https://medium.com/media/d7abe0c1709032a687359ac1c84098c1/href</a></iframe><h3>Other Enhancements</h3><p>In addition to MicroProfile 2.2, Helidon 1.2.0 contains a couple other enhancements:</p><ul><li><strong>HTTP Access Log</strong> support for Helidon MP and SE.</li><li>Early Access: <strong>Oracle Universal Connection Pool</strong> support: this lets you configure and inject the Oracle UCP JDBC driver as a DataSource in your Helidon MP application.</li></ul><h3>More to Come</h3><p>With MicroProfile 2.2 support, Helidon has caught up with most of the other main MicroProfile implementations. We are now pushing Helidon towards MicroProfile 3.0, and we’ve already taken the first steps. That’s why we put a plus after 2.2 in the title. We already have support for <em>Health Check 2.0</em> (and we’ll support it in a backwards compatible way). That leaves <em>Metrics 2.0</em> and <em>REST Client 1.3</em> and we are working hard to deliver it next month.</p><p>Stay tuned!</p><p><em>Thanks to Tomas Langer for helping with samples and to Joe Di Pol for great conversational style.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93d85bb4223e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/helidon-brings-microprofile-2-2-support-93d85bb4223e">Helidon brings MicroProfile 2.2+ support</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helidon flies faster with GraalVM]]></title>
            <link>https://medium.com/helidon/helidon-flies-faster-with-graalvm-eea85287d2dc?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/eea85287d2dc</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[graalvm]]></category>
            <category><![CDATA[helidon]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 16:45:10 GMT</pubDate>
            <atom:updated>2019-10-01T15:52:19.545Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*jxmiyvOAJEs9-HZZvmXGng.png" /></figure><p><a href="https://www.graalvm.org/">GraalVM</a> is an open source, high-performance, polyglot virtual machine developed by Oracle Labs. GraalVM offers multiple features, including the ability to compile Java code ahead-of-time into a native executable binary. The binary can run natively on the operating system, without a Java runtime!</p><p>A native executable offers important benefits, like shorter startup time and lower memory footprint. In addition, when a native executable runs within a container, the size of the container image is reduced (when compared with the same Java application running in a traditional JVM), because the container image doesn’t include a Java runtime. An optimized container size is critical for deploying apps to the cloud.</p><p>We are pleased to announce that, starting with version 1.0.3, Helidon supports the GraalVM native-image capability. Now you can easily compile your Helidon application into a native executable with all the advantages described earlier. For example, the sample application described in this article has a startup time measured in tens of milliseconds and a MacOS executable size of only 21MB. Both of those numbers are higher when a traditional JVM is used.</p><p>On the other hand, everything is always a tradeoff. Long running applications on traditional JVMs are still demonstrating better performance than GraalVM native executables due to runtime optimization. The key word here is long-running; for short-running applications like serverless functions native executables have a performance advantage. So, you need to decide yourself between fast startup time and small size (and the additional step of building the native executable) versus better performance for long-running applications</p><p>Compiling to native binaries introduces certain restrictions for your application. Because of native compilation, you must identify all the points in your code where reflection is used, which is not possible if CDI runtime injection is used. Helidon MP supports MicroProfile standards, which require CDI 2.0. Also, Helidon CDI cloud extensions are implemented as CDI plugins. We didn’t want to limit or complicate the user experience with Helidon MP; so GraalVM is supported in only Helidon SE. It is a perfect fit, because Helidon SE is designed to build small, reactive microservices. It doesn’t use dependency injection, annotations and other such magic . All the Helidon SE features and components (WebServer, Config, Security, Metrics, and Health Checks) are compatible with GraalVM native images.</p><p>Helidon supports two convenient GraalVM profiles:</p><ul><li>The <em>local profile</em> is for users who have GraalVM installed locally and want to build a native executable for the same OS that they work on.</li><li>The <em>Docker profile</em> is for users who don’t have GraalVM installed locally or want to build native executable for Linux while using macOS locally.</li></ul><p>Due to the possibility of backwards incompatible changes in GraalVM before the final release, the GraalVM support in Helidon is experimental. It’s been tested on <a href="https://github.com/oracle/graal/releases/tag/vm-1.0.0-rc13">GraalVM version RC13</a>; it is not guaranteed to work on other GraalVM versions.</p><p>To get you started, Helidon has a quickstart sample, which you can use as a template for your Helidon-on-GraalVM application.</p><p>Generate the project using a Maven archetype:</p><pre>mvn archetype:generate \<br>-DinteractiveMode=false \<br>-DarchetypeGroupId=io.helidon.archetypes \<br>-DarchetypeArtifactId=helidon-quickstart-se \<br>-DarchetypeVersion=1.0.3 \<br>-DgroupId=io.helidon.examples \<br>-DartifactId=helidon-quickstart \<br>-Dpackage=io.helidon.examples.quickstart</pre><p>To build using the local profile you need to download <a href="https://github.com/oracle/graal/releases/tag/vm-1.0.0-rc13">GraalVM</a>, extract it to some folder on your computer and define <em>GRAALVM_HOME</em> environment variable pointing to it.</p><p>If you use macOS, <em>GRAALVM_HOME</em> must point to <em>Contents/Home</em> directory inside the GraalVM root as it’s shown below.</p><pre>export GRAALVM_HOME=~/graalvm-ce-1.0.0-rc13/Contents/Home</pre><p>Build the project:</p><pre>mvn package -Pnative-image</pre><p>Run it:</p><pre>./target/helidon-quickstart</pre><p>If you want to use Docker profile, GraalVM installation is not required. Use the following command to build a docker image:</p><pre>docker build -t helidon-native -f Dockerfile.native .</pre><p>Run it as:</p><pre>docker run --rm -p 8080:8080 helidon-native:latest</pre><p>Helidon is a Java framework designed from scratch for writing microservices. It provides everything that you need to create small and efficient Java applications. It offers two programming models: reactive, and imperative supporting MicroProfile.</p><p>With GraalVM support, Helidon is one of the best solutions in the market for developing cloud-native microservices!</p><p>Do join our open-source community! We care about our users, and are ready to support you and answer your questions.</p><ul><li>Helidon on <a href="https://github.com/oracle/helidon">GitHub</a></li><li>Helidon <a href="https://helidon.io/">web site</a></li><li>Helidon on <a href="https://twitter.com/helidon_projecthttps://twitter.com/helidon_project">Twitter</a></li><li>Public <a href="https://helidon.slack.com/">Slack channel</a></li></ul><h3>Update</h3><p>We tested it with newly released <a href="https://github.com/oracle/graal/releases/tag/vm-1.0.0-rc16">GraalVM RC16</a> (both CE and EE versions) and it perfectly works.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eea85287d2dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/helidon-flies-faster-with-graalvm-eea85287d2dc">Helidon flies faster with GraalVM</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First year of Eclipse EE4J]]></title>
            <link>https://medium.com/oracledevs/first-year-of-eclipse-ee4j-d81e85f84e2e?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/d81e85f84e2e</guid>
            <category><![CDATA[eclipse]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[jakarta-ee]]></category>
            <category><![CDATA[java-ee]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Mon, 22 Oct 2018 04:42:06 GMT</pubDate>
            <atom:updated>2018-11-02T06:31:08.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*V_9ZoqlShKxv5ulcKIltMw.png" /></figure><p>The idea of transferring Java EE sources to the Eclipse Foundation was announced at the last Oracle JavaOne conference. The year has passed and in this article I will try to summarize what was done during this year and where we are now.</p><p>First of all, I am happy to announce that <strong>Eclipse GlassFish RC1 is released!</strong></p><p>It’s available for download <a href="https://search.maven.org/artifact/org.glassfish.main.distributions/glassfish/5.1.0-RC1/glassfish-distribution">here</a>. This release is not final. It’s a milestone release with a purpose of indicating progress and providing developers the preview of the final product to play with, test it and provide feedback.</p><p>No doubt it’s a platinum trophy for the Jakarta EE community and we expect that Eclipse GlassFish sources will become the basis for an implementation of the Jakarta EE specifications.</p><p>It took us a year to achieve it. We transferred projects one by one from Oracle Java EE repositories and it was a challenging process. We had to go through a bunch of approvals on Oracle and Eclipse side. You can read more about it <a href="https://dmitrykornilov.net/2018/05/23/jakarta-ee-challenges/">here</a>.</p><p>There are currently <strong>39 projects</strong> created and <strong>88 repositories</strong> transferred. I collected the information about when project sources were transferred on the picture below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*TpSvVMfzq9t9mLXA" /></figure><p>As you see we started with <em>EclipseLink</em> and <em>Yasson</em>, which were already at Eclipse Foundation, but under RT project. The first projects which were transferred from Oracle GitHub were <em>JSONP</em>, <em>JMS</em>, <em>WebSocket</em> and <em>OpenMQ</em>. It was done in January 2018. GlassFish repository and <em>CTS/TCK</em> repositories were transferred in Sep 2018.</p><p>Most of projects have the EPL 2.0 license, but some of them were transferred under the more permissive EDL license. This is true for projects that shared their codebase with the JDK in the past, such as <em>JAXB</em> and <em>JAX-WS</em>.</p><p>Now I would like to provide you some vision about the volume of work done. Let’s take a look at the Java EE codebase. Some projects (like most of the API projects) are relatively small. Implementations are usually much bigger and the TCK codebase is huge.</p><p>To be more precise, Java EE source-code contains over <strong>5.5 million</strong> lines of code and over <strong>2.2 million</strong> lines of comments in more than <strong>61,000</strong> files. For comparison, it’s around the same as the server side of World of Warcraft and the Linux Kernel 2.6.0.</p><p>CTS/TCK contains over <strong>4.6 million</strong> lines of code and over <strong>1.1 million</strong> lines of comments in more than <strong>34,000</strong> files. It’s comparable with the codebase of Windows NT 3.1 and Photoshop CS6.</p><p>In total we transferred <strong>13.5 million</strong> lines of code in <strong>95k</strong> files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*jHBpyxJ83H5vMHlR" /><figcaption>Based on data provided by <a href="https://informationisbeautiful.net/visualizations/million-lines-of-code/">https://informationisbeautiful.net</a></figcaption></figure><p>It’s worth mentioning that TCK/CTS sources were closed. It’s the first time the community has seen it and started contributing.</p><p>A lot of work is done, but there are still things to do. Here is a current status of projects from <a href="http://www.eclipse.org/ee4j/status.php">Eclipse EE4J</a> web site:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*fE_W9RqzEA5FPCQ5" /></figure><p>The above graph charts the following progress:</p><ul><li>20% Project Proposal has been posted for community review</li><li>40% Project committers and resources have been provisioned</li><li>60% Initial Contribution provided to the Eclipse IP Team</li><li>80% Initial Contribution Pushed to Git Repository</li><li>100% Project has engaged in its first Release Review</li></ul><p>Not all projects are at 100% yet. Most of the projects are still need to pass the release reviews and release the first Eclipse version. This work is in progress and it goes well so far. The community is highly involved. I counted people having more than 5 commits/bug reports and there are <strong>more than 80 active contributors </strong>from different vendors including Oracle, IBM, Red Hat, Payara, Tomitribe and others.</p><p>I created two pie-charts demonstrating how different vendors are participating in EE4J projects.</p><p>The first chart is demonstrating committers per organization. It represents 213 committers in total. If the employer of the person is not defined, they were assigned to <em>At Large </em>group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/0*WlthxN1mewHbuS0H" /></figure><p>The second chart demonstrated project leads by organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/0*uuF-QTktZExwH_Rc" /></figure><p>In order to achieve our goals the activity and participation levels must be kept high. The main goal currently is completing Java EE 8 certification and releasing the final version of Eclipse GlassFish.</p><p>The following is the current schedule:</p><p>Sep 21 — All code required for GF build contributed.<br>Sep 23 — Eclipse GlassFish builds.<br>Oct 1 — Java EE 8 CTS testing. Running CTS tests on Eclipse GlassFish.<br><strong>Oct 22 — Eclipse GlassFish 5.1-RC1 milestone release.<br></strong>Oct 29 — CI/CD release pipelines completed.<br>Nov 5 — Dependencies updated. All projects are released to OSSRH and have dependencies to Eclipse version of other components.<br>Nov 30 — Release Review completed.<br>Dec 14 — Eclipse GlassFish 5.1 release. All CTS tests are passed.</p><p>So far we are on schedule. We need to keep up the cadence and make a final push to release the final version of Eclipse GlassFish on Dec 14, 2018.</p><p>At the end of the article I would like to say thanks to the community and vendor support Jakarta EE has received. While Oracle is making the bulk of contribution effort, it will take a community to continue evolving and enhancing Jakarta EE. In addition to Oracle, this release will be delivered with assistance from Payara, Tomitribe, Red Hat, IBM, and various independent community members. We are very pleased to see this community come together and we look forward to further growth in the coming months.</p><p>Also, I would like to use this opportunity and invite people to participate in Jakarta EE efforts. This is the interesting time, don’t miss it!</p><p><a href="https://dmitrykornilov.net/2018/10/22/first-year-of-eclipse-ee4j/">Original Article</a> on <a href="https://dmitrykornilov.net/">Dmitry’s Technical Blog</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d81e85f84e2e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/first-year-of-eclipse-ee4j-d81e85f84e2e">First year of Eclipse EE4J</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helidon Takes Flight]]></title>
            <link>https://medium.com/helidon/helidon-takes-flight-fb7e9e390e9c?source=rss-6026f9734714------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb7e9e390e9c</guid>
            <category><![CDATA[microprofile]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[helidon]]></category>
            <dc:creator><![CDATA[Dmitry Kornilov]]></dc:creator>
            <pubDate>Fri, 07 Sep 2018 19:32:21 GMT</pubDate>
            <atom:updated>2018-09-10T10:03:41.871Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*jJv-QPlVbKu0kkRrD5gM9A.png" /></figure><p>Today is a great day. Today we introduce a new Java microservices framework and a new member of the MicroProfile family. Please welcome <a href="https://helidon.io/">Project Helidon</a> — a new open source Java microservices framework from Oracle.</p><p>Helidon is a Greek word for <em>swallow</em>, a type of bird that according to Wikipedia has “<em>a slender, streamlined body and long pointed wings, which allow great manoeuvrability and… very efficient flight</em>”. Perfect for darting through the clouds.</p><h3>Overview</h3><p>The work on what would become the Helidon Project started some time ago. When we entered the cloud world, and microservices architecture started to become very popular for creating cloud services, we realized that the development experience also needed to change. It’s possible to build microservices using Java EE, but it’s better to have a framework designed from the ground up for building microservices. We wanted to create a lightweight set of libraries that didn’t require an application server and could be used in Java SE applications. These libraries could be used separately from each other, but when used together would provide the foundation a developer needs to create a microservice: <strong>configuration</strong>, <strong>security,</strong> and a <strong>web server</strong>.</p><p>There are already some efforts to build standard microservices frameworks from MicroProfile. MicroProfile is quite popular in the Java EE/Jakarta EE community and provide a development experience similar to Java EE. We like the idea and support the initiative. <strong>Helidon implements MicroProfile</strong> 1.1. We will continue working on implementing new versions of MicroProfile and intend to support relevant Jakarta EE standards in this area as they are defined.</p><p>Helidon is made by Oracle, so don’t be surprised that there will be some useful Oracle Cloud integrations. These are not included in the initial version, but will be added later. Helidon is already used by many internal Oracle projects and these integrations simplify our developers’ lives big time. We believe that will simplify your life as well if you use Oracle Cloud. If not, these integrations are optional.</p><h3>Landscape</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*xmlpV1ckV2r_t3SEpH6ISA.png" /><figcaption>Microservices frameworks categories</figcaption></figure><p>Java Frameworks for writing microservices fall into a few categories. From smaller to larger:</p><ul><li><strong>Microframeworks</strong><br>Simple, fun, intentionally small feature set. Examples are Spark, Javalin, Micronaut, etc.</li><li><strong>MicroProfile</strong><br>Friendly to Java EE developers but a bit heavier. Some of them are build on top of fully featured Java EE application servers. Examples are Thorntail (was Wildfly Swarm), OpenLiberty, Payara.</li><li><strong>Full Stack</strong><br>Fuller features set such as Spring Boot.</li></ul><p>Helidon comes in two flavours and covers two categories — Microframeworks and MicroProfile. It’s up to a developer to choose what to use in their applications.</p><ul><li><strong>Helidon SE</strong> — simple, functional, lightweight microframework developed in a modern reactive way. There is no injection “magic”. No special runtime required. JDK is used as runtime.</li><li><strong>Helidon MP</strong> — Eclipse Microprofile implementation providing development experience familiar to Java EE/Jakarta EE developers.</li></ul><h3>Architecture</h3><p>Helidon’s high level architecture is shown on the picture below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/0*LnuwXH0ikIKQ7eoB" /><figcaption>Helidon architecture</figcaption></figure><ul><li>Helidon SE components are marked green. These are <strong>Config</strong>, <strong>Security</strong> and <strong>RxServer</strong>.</li><li>The Java EE/Jakarta EE components we use are marked grey. These are <strong>JSON-P</strong>, <strong>JAX-RS/Jersey</strong> and <strong>CDI</strong>. These components are required for MicroProfile implementation.</li><li>Helidon MP is a thin layer on top of Helidon SE components.</li><li>Optional Oracle Cloud services components are marked red and used in both Helidon SE and Helidon MP.</li></ul><h3>Usage and Samples</h3><h4>Setup</h4><p>The easiest way to start using Helidon is if you use a Maven project with Java 8 (or higher version) and configure the Helidon <em>bom-pom</em>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccb6257009da474da54052102f6b2e20/href">https://medium.com/media/ccb6257009da474da54052102f6b2e20/href</a></iframe><h4>Helidon SE</h4><p>Helidon SE is the base to build lightweight reactive microservices.</p><p>A Hello world implementation:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a0db2aa9b6789eddd723d5d92066281/href">https://medium.com/media/1a0db2aa9b6789eddd723d5d92066281/href</a></iframe><p>This would start webserver on a random (free) port and expose endpoint <em>/hello</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bfbca7c3a4129c2d9072edc0730851cd/href">https://medium.com/media/bfbca7c3a4129c2d9072edc0730851cd/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/058bf914188421cda2a80e2c300c95f3/href">https://medium.com/media/058bf914188421cda2a80e2c300c95f3/href</a></iframe><h4>Adding metrics to SE</h4><p>We have provided an implementation of MicroProfile Metrics interfaces also for Helidon SE (without support for injection, as that is not included in SE).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ddd53c645e71a8ce46e8123b491ab65/href">https://medium.com/media/0ddd53c645e71a8ce46e8123b491ab65/href</a></iframe><p>This requires a new dependency:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d24c2e2fd1947e78b6b6982ba064169/href">https://medium.com/media/4d24c2e2fd1947e78b6b6982ba064169/href</a></iframe><p>New endpoints are available:</p><ul><li><em>/metrics</em> <br>All metrics (base, vendor and application)</li><li><em>/metrics/application/helloCounter</em><br>The metric created in our hello world application</li></ul><h4>Helidon MP</h4><p>Helidon MP is an Eclipse Microprofile implementation and a runtime for microservices.</p><p>A Hello world implementation that uses metrics to meter the invocations.</p><p>You must create a JAX-RS resource class to process your requests:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/457c617684a4f4ec3267461fe2664fe3/href">https://medium.com/media/457c617684a4f4ec3267461fe2664fe3/href</a></iframe><p>And then start the server with this resource:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/568c5567e7ed6eaa66a45a3054640b0c/href">https://medium.com/media/568c5567e7ed6eaa66a45a3054640b0c/href</a></iframe><p>You also need to create <em>beans.xml</em> file in the <em>src/main/resources/META-INF</em> directory to trigger CDI injection in this project:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5cd8bb24d66df2f3e3b6da75fcd1fd8/href">https://medium.com/media/f5cd8bb24d66df2f3e3b6da75fcd1fd8/href</a></iframe><p>This would start a webserver on the default port (7001) and expose endpoint <em>“/hello”</em>.</p><p>The following endpoints are available:</p><ul><li>The hello world example<br><em>http://localhost:7001/hello</em></li><li>MicroProfile Metrics endpoin<br>t<em>http://localhost:7001/metrics</em></li><li>The metric of our endpoint<br><em>http://localhost:7001/metrics/application/com.oracle.tlanger.HelloWorld.hello</em></li><li>MicroProfile Health endpoin<br>t<em>http://localhost:7001/health</em></li></ul><h3>Plans</h3><p>We have so many plans, I could write a separate article about them.</p><p>Our short term goal is to advertise Helidon in the Java community. We are planning to talk about Helidon at some conferences. We have four Helidon-related Oracle Code One 2018 talks planned. We have also submitted talks to EclipseCon Europe 2018 and will participate in the Jakarta EE/MicroProfile Community Day there. Some learning materials such as such as videos, samples, articles, etc. are also on the way.</p><p>From the technical perspective, we are working on implementing the next MicroProfile versions. We are also working on GraalVM support, which looks like a great feature for Helidon SE users.</p><p>We are working on some other cool stuff and features, but we can’t show all cards now. Stay tuned, we will announce new features as soon as the are ready.</p><h3>Useful Links</h3><ul><li>Helidon web site: <a href="https://helidon.io/">https://helidon.io</a></li><li>Helidon on Twitter: <a href="https://twitter.com/helidon_project">@helidon_project</a></li><li>GitHub repository: <a href="https://github.com/oracle/helidon">https://github.com/oracle/helidon</a></li></ul><h3>You may find it interesting</h3><ul><li>The original internal name of the project was J4C (Java for Cloud).</li><li>The Helidon development is distributed between a team in Prague and a team in the US.</li><li>Helidon is already used in more than 10 projects within Oracle.</li><li>Some Helidon components are still in development and will be open sourced at some point in time.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb7e9e390e9c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/helidon-takes-flight-fb7e9e390e9c">Helidon Takes Flight</a> was originally published in <a href="https://medium.com/helidon">Helidon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>