Skip to content

apache/openwebbeans-meecrowave-examples

Repository files navigation

Meecrowave Sample

This project shows how to use Apache Meecrowave for simple applications.

About Apache Meecrowave

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)

About our Examples

Here’s what it provides:

  1. A pom.xml with the dependencies for this sample and meecrowave-maven-plugin setup so you can launch mvn package meecrowave:run.

  2. A sample JAX-RS application: in src/main/java/com/superbiz/sample/jaxrs

  3. 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

  4. 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

Further Resources

Bug Reporting

Please use our official Meecrowave Bug Tracker for reporting bugs or enhancement requests.

Apache Meecrowave resources

Please find more information about Meecrowave on our Apache Meecrowave Project Site