This project shows how to use Apache Meecrowave for simple applications.
Apache Meecrowave is a 9 MByte small embeddable Java Application Server based on the following Apache JavaEE 8 projects:
-
Apache Tomcat-9.x
-
Apache OpenWebBeans-2.x
-
Apache Johnzon-1.1.x
-
Apache CXF-3.2.x
-
Apache log4j2 (optional, JUL supported as well)
Here’s what it provides:
-
A pom.xml with the dependencies for this sample and meecrowave-maven-plugin setup so you can launch
mvn package meecrowave:run
. -
A sample JAX-RS application: in src/main/java/com/superbiz/sample/jaxrs
-
A test using JAX-RS client API and the meecrowave mono rule (useful when you run multiple tests) in src/test/java/com/superbiz/sample/jaxrs
-
in src/main/java/com/superbiz/configuration/Defaults some enrichment of the meecrowave Cli options for the application.
To use it launch meecrowave main (org.apache.meecrowave.runner.Cli) with option --app-default-name foo
.
You can also use the `meecrowave-maven-plugin`and type
$> mvn clean install meecrowave:run
For debugging your application attach with your IDE to port 8000 and start Meecrowave in debug mode with
$> mvnDebug clean install meecrowave:run
Please use our official Meecrowave Bug Tracker for reporting bugs or enhancement requests.
Please find more information about Meecrowave on our Apache Meecrowave Project Site