= <%= projectDirectory %>

Don't ask...

//tag::content[]

.build and with docker
----
# maven
./mvnw
./mvnw -pl ear com.dkanejs.maven.plugins:docker-compose-maven-plugin:1.0.1:up
http :8080/web/
http --form :8080/servlet/api/ name=Max
http post :8080/rest/api/ name=Maksim
http :8080/jsp/
./mvnw -pl ear com.dkanejs.maven.plugins:docker-compose-maven-plugin:1.0.1:down

# gradle
./gradlew
./gradlew composeUp
http :8080/web/
http --form :8080/servlet/api/ name=Maksim
http post :8080/rest/api/ name=Maksimko
http :8080/jsp/
./gradlew composeDown

# gradle (maven profile)
./gradlew -Pprofile=maven clean build composeUp
http :8080/web/
http --form :8080/servlet/api/ name=Maksimko
http post :8080/rest/api/ buddy=Max
http :8080/jsp/
./gradlew -Pprofile=maven composeDown
----

generated by link:https://github.com/daggerok/generator-daggerok-fatjar/[daggerok-fatjar] yeoman generator

==== what's inside?

. javaee 8.0 project
. EAR with EJB + CDI configured
. EJB3 (business services module: ejb-services)
. EJB3 (JPA repositories module: ejb-data with embedded H2database for simplicity)
. JAX-RS REST API
. WEB/HTML5 static content
. Servlet and JSP with EJB usage
. lombok (slf4j + logback logging)
. vavr (javaslang)
. support maven
. support gradle
. docker / docker-compose support (JBOSS EAP 7.1)

//end::content[]
