m4rc1no5 / LearningJavaEE

Examples of use JavaEE with Maven and Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LearningJavaEE

Examples of use JavaEE

Codeship Status for m4rc1no5/LearningJavaEE CircleCI

Documentation

Table of contents

  1. Installation
  2. API
  3. Logs
  4. Must read

Installation

Launch on Docker

  1. Install docker image wildfly10 from DockerImages

  2. Build app

    mvn clean install
  3. Run app on Docker

    cd docker/app
    ./run.sh

API

  • /api/rest/helloWorld/currentTime

Logs

View logs from WildFly

  1. Execute an interactive bash shell on the container

    docker exec -it learning_java_ee bash
  2. View server.log

    less /opt/wildfly-10.1.0.Final/standalone/log/server.log

Must read

About

Examples of use JavaEE with Maven and Docker


Languages

Language:Java 97.0%Language:Shell 3.0%