Execution of the
microprofile-essentials-archetype (see also Simplest Possible Java EE 8 Kickstarter):
mvn archetype:generate -DarchetypeGroupId=com.airhacks -DarchetypeArtifactId=microprofile-essentials-archetype -DarchetypeVersion=0.0.1 -DgroupId=com.airhacks -DartifactId=[YOUR_PROJECT_NAME] -Dversion=0.0.1 -Darchetype.interactive=false --batch-mode
pom.xmlwith a single microprofile dependency:
and a shell script which executes the the maven and Docker build and starts the image. The build-and-run cycle takes about ...5 seconds.
<dependency> <groupId>org.eclipse.microprofile</groupId> <artifactId>microprofile</artifactId> <version>1.3</version> <type>pom</type> <scope>provided</scope> </dependency>
Payara 5 Full server is not only Java EE 8 compliant, it also comes with MicroProfile 1.2 APIs -- so you don't have to use any esoteric runtimes.
Payara 5 Dockerfile is also available from: docklands. The Maven Archetype is available in: https://github.com/AdamBien/microprofile-essentials-archetype.See you at Java EE Microservices. Is Munich's airport too far? Learn from home: javaeemicro.services.
NEW: Online Workhop Effective WebApps without Frameworks is also coming to: MUC Airport.