Giter Club home page Giter Club logo

java-mp-helidon-example's Introduction

Helidon MicroProfile Build Status

This example implements a simple Hello World REST service using MicroProfile

Run using maven

./mvnw exec:java

http :8080/greet/health
http :8080/greet/metrics

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Build and run jar

./mvnw package
ava -jar ./target/*.jar

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Build and run docker

docker build -t helidon-quickstart-mp .
docker run --rm -d -p 8080:8080 helidon-quickstart-mp:latest

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Check versions update

./mvnw versions:display-property-updates

Generate maven project

mvn archetype:generate -DinteractiveMode=false \                                24:00 
    -DarchetypeGroupId=io.helidon.archetypes \
    -DarchetypeArtifactId=helidon-quickstart-mp \
    -DarchetypeVersion=1.2.0 \
    -DgroupId=com.github.daggerok.helidon \
    -DartifactId=java-mp-helidon-example \
    -Dpackage=com.github.daggerok.helidon

cd java-mp-helidon-example
mvn -N io.takari:maven:0.7.6:wrapper -Dmaven=3.6.1
./mvnw 

links:

java-mp-helidon-example's People

Contributors

daggerok avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.