<?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 Arjav Desai on Medium]]></title>
        <description><![CDATA[Stories by Arjav Desai on Medium]]></description>
        <link>https://medium.com/@desaiarjav?source=rss-6264885a9d41------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KvO9C4Bpjb2rg63hQz8Q7Q.png</url>
            <title>Stories by Arjav Desai on Medium</title>
            <link>https://medium.com/@desaiarjav?source=rss-6264885a9d41------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:58:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@desaiarjav/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[OCI Application with Helidon]]></title>
            <link>https://medium.com/helidon/oci-application-with-helidon-caa78cacaee5?source=rss-6264885a9d41------2</link>
            <guid isPermaLink="false">https://medium.com/p/caa78cacaee5</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[helidon]]></category>
            <category><![CDATA[oci]]></category>
            <dc:creator><![CDATA[Arjav Desai]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 15:33:49 GMT</pubDate>
            <atom:updated>2023-01-10T15:33:49.078Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w5f0delT8j1SINjR0wQNNw.png" /></figure><p>Helidon provides convenient tools to bootstrap Helidon applications, namely, via <a href="https://helidon.io/docs/v2/#/about/05_cli">CLI</a>, <a href="https://helidon.io/starter/2.5.5">Starter App</a> and <a href="https://helidon.io/docs/v2/#/about/03_prerequisites">Maven archetype:generate</a>. This enables developers to get started with Helidon with minimal effort: create a new application, build, run, and test it.</p><p>The main goal of these tools is for anyone starting with Helidon to be able to create an application by choosing one of the archetypes and get it running within seconds and without the need for any large downloads. Helidon has released <a href="https://github.com/helidon-io/helidon/blob/helidon-2.x/docs/about/05_archetype.adoc">a set of archetypes</a> to make life easy for developers. With our latest 2.5.5 release, we are adding a new archetype dedicated for <strong>Oracle Cloud Infrastructure (OCI) Application i.e. applications that use or integrate with </strong><a href="https://www.oracle.com/cloud/"><strong>O</strong>CI<strong> Cloud Services</strong></a><strong>.</strong></p><p><strong><em>Note</em></strong><em>: Support for 3.x is coming soon.</em></p><h3>OCI Application Archetype</h3><p>Helidon has always provided <a href="https://medium.com/helidon/helidon-integration-with-oracle-cloud-infrastructure-87177f60780c">native OCI Integration</a> and improved on it with <a href="https://medium.com/helidon/helidon-2-5-0-release-6745437dbe6c">2.5.0 release</a>. With this latest release, we are taking it a step further. This new archetype builds on QuickStart archetype to demonstrate integration with OCI services using the OCI SDK esp. Identity &amp; Access Management (IAM), Monitoring and Logging; that you can deploy to your OCI tenancy. Integration to any of the OCI service can be easily done programmatically or through Dependency Injection of its SDK APIs.</p><p>Additionally, it also showcases an OpenAPI-driven development approach where the practice of designing and building APIs is done first, then creating the rest of an application around those APIs is implemented next, and in an iterative fashion.</p><p>This archetype also demonstrates a multi-module project structure, supporting both client and server code generation from OpenAPI specification based on the Helidon team’s contribution of new Helidon generators to the <a href="https://medium.com/@tquinno600/f76a0951508e">OpenAPI generator project</a>.</p><p><strong><em>Note</em></strong><em>: Currently, OCI Application archetype is supported for MP only.</em></p><h4>Generate skeleton application</h4><p>It’s easy to create a new OCI Application. Once you install our <a href="https://helidon.io/docs/v2/#/about/05_cli">CLI</a>, then just type this in your terminal:</p><pre>$helidon init --version 2.5.5</pre><p>and answer a few questions (once the archetype is selected the other options have defaults) to create the project.</p><pre>$helidon init --version 2.5.5<br>Helidon flavor<br>  (1) SE <br>  (2) MP <br>Enter selection (default: 1): 2<br>Select archetype<br>  (1) bare | Minimal Helidon MP project suitable to start from scratch <br>  (2) quickstart | Sample Helidon MP project that includes multiple REST operations <br>  (3) database | Helidon MP application that uses JPA with an in-memory H2 database <br>  (4) oci | Helidon MP application that uses the OCI Integration <br>Enter selection (default: 1): 4<br>Project name (default: oci-mp): <br>Project groupId (default: me.user-helidon): <br>Project artifactId (default: oci-mp): <br>Project version (default: 1.0-SNAPSHOT): <br>Java package name (default: me.user.mp.oci): <br>Switch directory to /Users/user/Downloads/oci-mp to use CLI<br><br>Start development loop? (default: n): <br>$</pre><p>After it is done, a new folder named <strong>oci-mp</strong> (named after the artifactId value) will be created in the current folder, which contains the skeleton codes of this project.</p><h4>Explore the generated code</h4><p>Import the source codes into your favorite IDE (Intellij IDEA, Eclipse, Apache NetBeans etc), expands all nodes, the project structure looks like this.</p><pre>├── README.md<br>├── client<br>│   ├── README.md<br>│   ├── pom.xml<br>│   └── src<br>│       └── main<br>│           └── resources<br>│               └── META-INF<br>│                   └── beans.xml<br>├── pom.xml<br>├── server<br>│   ├── Dockerfile<br>│   ├── README.md<br>│   ├── app.yaml<br>│   ├── distribution.xml<br>│   ├── pom.xml<br>│   └── src<br>│       ├── main<br>│       │   ├── java<br>│       │   │   └── me<br>│       │   │       └── arjdesai<br>│       │   │           └── mp<br>│       │   │               └── oci<br>│       │   │                   └── server<br>│       │   │                       ├── GreetLivenessCheck.java<br>│       │   │                       ├── GreetReadinessCheck.java<br>│       │   │                       ├── GreetResource.java<br>│       │   │                       ├── GreetingProvider.java<br>│       │   │                       └── package-info.java<br>│       │   └── resources<br>│       │       ├── META-INF<br>│       │       │   ├── beans.xml<br>│       │       │   ├── microprofile-config-prod.properties<br>│       │       │   ├── microprofile-config-test.properties<br>│       │       │   └── microprofile-config.properties<br>│       │       ├── application.yaml<br>│       │       └── logging.properties<br>│       └── test<br>│           └── java<br>│               └── me<br>│                   └── arjdesai<br>│                       └── mp<br>│                           └── oci<br>│                               └── server<br>│                                   ├── Common.java<br>│                                   ├── GreetResourceConfigFileTest.java<br>│                                   ├── GreetResourceInstancePrincipalTest.java<br>│                                   └── GreetResourceMockedTest.java<br>└── spec<br>    ├── README.md<br>    └── api.yaml</pre><p>So, now you can become familiarized with the project and its basic structure, files, and Java code artifacts esp. look at the pom.xml .</p><h4>Using generated application</h4><p>As you may have noticed, we have three different application configuration files and unit tests for server module. This is to make the developer’s life easier and provide for faster code-to-cloud using Helidon’s <a href="https://helidon.io/docs/v2/#/mp/config/01_introduction">Config Profile</a> feature. See Application Configuration section in README for server module to learn more about it.</p><p>Now, that you have enough background, its time to get the hands dirty. The easiest way is follow instructions in README file, where in addition to normal build/run/test (including Docker and k8s!), we have provided details information on doing required OCI setup.</p><p>To deploy your Helidon application to OCI Compute Instance refer to <a href="https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/helidon-on-ubuntu/01oci-ubuntu-helidon-summary.htm">https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/helidon-on-ubuntu/01oci-ubuntu-helidon-summary.htm</a> and for deployment to Oracle Kubernetes Engine (OKE) use <a href="https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/helidon-k8s/01oci-helidon-k8s-summary.htm">https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/helidon-k8s/01oci-helidon-k8s-summary.htm</a></p><p>Get access to <a href="https://www.oracle.com/cloud/free/">OCI Cloud Free Tier</a>, as that’s all you will need!</p><h3>Wrap-up</h3><p>Congrats, in just a few steps we were able to create a fully functional MicroProfile based Helidon application with OCI integration!</p><p>The project generator with Helidon OCI Application archetype, while primarily meant for illustrating the basics and usage pattern, serves as basic building block for extending it with more APIs and other OCI service integrations, as needed by your application.</p><h3>What next ?</h3><p>This is just the starting point with OCI integration and there is so much scope to extend this with additional OCI services and development best practices integration.</p><p>We are keen on learning about your experience and usage of Helidon on OCI Cloud. Please reach out to us at <a href="https://slack.helidon.io/">helidon.slack.com</a> or <a href="https://stackoverflow.com/tags/helidon">https://stackoverflow.com/tags/helidon</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caa78cacaee5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helidon/oci-application-with-helidon-caa78cacaee5">OCI Application with 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>
    </channel>
</rss>