Oracle have introduced a new open-source framework, Activity Helidon, a accumulating of Java libraries advised for creating microservices-based applications that joins Payara Micro, Thorntail (formerly WildFly Swarm), OpenLiberty, and TomEE in the MicroProfile family.
Originally called J4C (Java for Cloud), Helidon was advised to be simple and fast, and is comprised of two versions: Helidon SE and Helidon MP. Helidon SE appearance three amount APIs to actualize a microservice — a web server, configuration, and aegis — for architectonics microservices-based applications. An appliance server is not required. Helidon MP supports the MicroProfile 1.1 blueprint for architectonics microservices-based applications.
Inspired by NodeJS and added Java frameworks, Helidon’s web server is an asynchronous and acknowledging API that runs on top of Netty. The WebServer interface includes abutment for configuration, routing, absurdity handling, and architectonics metrics and bloom endpoints.
The afterward cipher archetype demonstrates how to alpha a simple Helidon web server to affectation the text, “It works!” on a accidental accessible port:
The agreement component, Config, endless and processes agreement backdrop in key/value format. By default, agreement backdrop will be apprehend from a authentic application.properties or application.yaml book placed in the /src/main/resources directory.
The afterward cipher archetype demonstrates how to use Config and builds aloft the antecedent archetype by account an applications.yaml book to specify a anchorage on which to alpha the web server.
The Aegis chic provides abutment for authentication, authorization, and audit. A cardinal of aegis providers for use in Helidon applications accept been implemented. There are three agency aegis may be congenital to a Helidon application: from a builder; by configuration; or a amalgam of the aboriginal two.
The afterward cipher archetype demonstrates how to body an instance of Security, use Config to access user affidavit (with encrypted password), and affectation the server time.
More absolute aegis examples may be begin on GitHub.
The accord amid Helidon SE and Helidon MP is apparent in the architectonics diagram.
The blueprint beneath shows area Helidon SE and Helidon MP fit into the categories of microservices frameworks.
Helidon provides quick alpha examples to authenticate the differences amid Helidon SE and Helidon MP.
The afterward Maven and Java commands will accomplish and amalgamation the Helidon SE archetype to actualize a REST account appliance Helidon’s web server.
The afterward Maven and Java commands will accomplish and amalgamation the Helidon MP archetype to actualize a REST account appliance MicroProfile’s JAX-RS API.
Once the server is running, the afterward commands can be executed:
The absolute Helidon activity may be begin on GitHub.
Dmitry Kornilov, chief software development administrator at Oracle, batten to infoQ about this new project.
InfoQ: What aggressive Oracle to advance this new microservices framework?
Dmitry Kornilov: The assignment on Helidon started some time ago. Back microservices architectonics started to become actual accepted for creating billow casework the development acquaintance additionally bare to change. Java EE is a abiding technology but it has a lot of bequest code. Instead of architectonics microservices on top of Java EE, we accomplished that we bare a new framework which is advised to body microservices from the scratch. That’s how Helidon was born.
InfoQ: What makes Helidon different over the added MicroProfile implementations such as OpenLiberty, Thorntail, Payara Micro and TomEE?
Kornilov: Helidon is not aloof a MicroProfile implementation. It comes in two flavors: Helidon SE and Helidon MP.
Helidon SE forms the amount of Helidon. It’s a failing set of libraries that could be acclimated alone from anniversary other, but back acclimated calm accommodate the foundation a developer needs to actualize a microservice: configuration, security, and a web server. It brings a added avant-garde and acknowledging access that developers like. We try to accomplish it actual clear: no bang ‘magic’ is used, which makes a Helidon SE appliance accessible to debug. There’s no appropriate jar format, no appropriate classloaders. Your appliance is aloof a boilerplate Java SE application. That additionally agency it’s accordant with all IDEs with no appropriate plugins required.
Helidon MP is our MicroProfile accomplishing and it’s congenital on Helidon SE — it is not acquired from an appliance server. So there’s no deployment model, no Java EE packaging, no added being you don’t need.
InfoQ: Why was the MicroProfile 1.1 blueprint implemented instead of a added contempo version?
Kornilov: Helidon development started some time ago and we absitively to stick to the MicroProfile adaptation which was latest at that time. We are continuously convalescent Helidon and abutment for new MicroProfile versions is advancing soon.
InfoQ: What’s on the border for Helidon abnormally in agreement of abutment for Jakarta EE and added contempo versions of the MicroProfile specification?
Kornilov: I already mentioned that we are alive on added contempo MicroProfile versions support. Back new Jakarta EE blueprint become arresting we will participate in their development and abutment them in Helidon. Also, we plan to add Oracle Billow Integration appearance to Helidon, HTTP applicant support, a activity amateur web app, and consistently convalescent our examples and documentation.
Five Things Your Boss Needs To Know About Hybrid Cloud Architecture Diagram | Hybrid Cloud Architecture Diagram – hybrid cloud architecture diagram
| Delightful in order to our blog site, on this time period We’ll teach you concerning hybrid cloud architecture diagram