Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo microprofile

Hello World, Quarkus!

Today JBoss community released Quarkus . I could not wait to test it. Projects can be generated using the following archetype: mvn io.quarkus:quarkus-maven-plugin:0.11.0:create      \     -DprojectGroupId=org.fxapps                        \     -DprojectArtifactId=quarkus-getting-started        \     -DclassName="org.fxapps.GreetingResource"          \     -Dpath="/hello"              With the project that was generated you can create native binaries and docker images from it. See the following video for a quick demo of a hello world application:

MicroProfile Config from a JavaFX application

Most of you probably heard about Eclipse Microprofile , including Microprofile Config. A quick try from a desktop application that uses JavaFX shows that it works without any additional configuration: just add a implementation dependency to your classpath and you can use microprofile config. See below a simple example. This results in: Conclusion Microprofile config works with JavaFX and this is great news. Microprofile is evolving quickly and JavaFX being able to work with it will give Java developers the ability to easily integrate desktop applications with java microservices.