How to get started with Eclipse Micro Profile

Overview

The same thing as Spring Initializr, which is familiar as a starter of Spring Boot, is also published in Eclipse Micro Profile, so I will introduce it.

Usability is the same as Spring Initializr.

How to get started

It is published at the following link.

https://start.microprofile.io/

You can select the version of MicroProfile. This selection determines the types of MicroProfile Runtime and Examples you can choose from.

image.png

As a simple example, select MP3.0, Helidon as Runtime and press DOWNLOAD.

image.png

You can download the source code as a project with Zip.

image.png

The contents of Zip are like this.

image.png

It's a Maven project. The readme.md contains the operation check method and links, so you can move while looking at them.

To move quickly Create a jar with mvn clean package Run with java -jar target / demo.jar. Since it is in executable Jar format, it can be executed with one command without following the procedure of starting and deploying the application server.

When executing the command, make sure that the current directory is directly under demo. (In the case of the above example)

After starting, access http: // localhost: 8080, and if the following screen appears, it is OK. image.png

When you press the link destination,

image.png

Hello world is done!

Summary

I think I was able to try Micor Profile with about the same number of steps as Spring Boot.

This time, only JAX-RS is included, but you can check other specifications from the source code by increasing the check of Samples.

Also, for those who want to learn JavaEE but find it troublesome to build an application server, MicroProfile incorporates a part of the JavaEE specifications, so it is one of the options as an environment to try the specifications while moving it at hand. I think it's possible.

Recommended Posts

How to get started with Eclipse Micro Profile
How to get started with slim
[Note] How to get started with Rspec
How to get started with creating a Rails app
How to get along with Rails
How to get started with Gatsby (TypeScript) x Netlify x Docker
How to get started with JDBC using PostgresSQL on MacOS
I tried to get started with WebAssembly
Rails beginners tried to get started with RSpec
How to get resource files out with spring-boot
Get started with Gradle
How to switch Tomcat context.xml with WTP in Eclipse
I tried to get started with Spring Data JPA
Get started with "Introduction to Practical Rust Programming" (Day 3)
How to use JDD library in Scala with Eclipse
How to get jdk etc from oracle with cli
Get started with Spring boot
What is Eclipse Micro Profile?
How to number (number) with html.erb
Get started with DynamoDB with docker
How to update with activerecord-import
How to use Eclipse Debug_Shell
Connect to oracle with eclipse!
How to get values in real time with TextWatcher (Android)
Now is the time to get started with the Stream API
I tried to get started with Swagger using Spring Boot
How to scroll horizontally with ScrollView
Let's get started with parallel programming
How to use Java HttpClient (Get)
How to enclose any character with "~"
How to use mssql-tools with alpine
How to set Lombok in Eclipse
java Eclipse How to debug javaScript
Memo to get with Struts2 + Ajax
How to start Camunda with Docker
How to get boolean value with jQuery in rails simple form
How to install Adopt OpenJDK on Debian, Ubuntu with apt (-get)
How to crop an image with libGDX
A memorandum on how to use Eclipse
How to adjustTextPosition with iOS Keyboard Extension
How to share files with Docker Toolbox
How to use Apache Derby on Eclipse
How to compile Java with VsCode & Ant
[Java] How to compare with equals method
[Android] How to deal with dark themes
How to use BootStrap with Play Framework
[Rails] How to use rails console with docker
How to switch thumbnail images with JavaScript
How to include Spring Tool in Eclipse 4.6.3?
I want to use DBViewer with Eclipse 2018-12! !!
How to do API-based control with cancancan
[Java] How to get the current directory
Get started with "Introduction to Practical Rust Programming" (Day 4) Call Rust from Ruby
How to achieve file download with Feign
How to update related models with accepts_nested_attributes_for
[Java] [ibatis] How to get records of 1-to-N relationship with List <Map <>>
[Rails] How to get the user information currently logged in with devise
How to set JAVA_HOME with Maven appassembler-maven-plugin
How to implement TextInputLayout with validation function
How to get the date in java
[Servlet / Ajax] How to resolve NoClassDefFoundError [Eclipse]