https://github.com/m4rc1no5/learningjavaee
Examples of use JavaEE with Maven and Docker
https://github.com/m4rc1no5/learningjavaee
docker java javaee maven
Last synced: 5 months ago
JSON representation
Examples of use JavaEE with Maven and Docker
- Host: GitHub
- URL: https://github.com/m4rc1no5/learningjavaee
- Owner: m4rc1no5
- Created: 2016-10-16T13:58:47.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-05-22T12:27:25.000Z (almost 9 years ago)
- Last Synced: 2025-10-29T13:48:58.828Z (5 months ago)
- Topics: docker, java, javaee, maven
- Language: Java
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LearningJavaEE
Examples of use JavaEE
[ ](https://app.codeship.com/projects/181546)
[](https://circleci.com/gh/m4rc1no5/LearningJavaEE/tree/develop)
Documentation
=============
Table of contents
-----------------
1. [Installation](#installation)
2. [API](#api)
3. [Logs](#logs)
4. [Must read](#mustRead)
Installation
------------
### Launch on Docker ###
1. Install docker image wildfly10 from [DockerImages](https://github.com/m4rc1no5/DockerImages)
2. Build app
```bash
mvn clean install
```
3. Run app on Docker
```bash
cd docker/app
./run.sh
```
API
---
- /api/rest/helloWorld/currentTime
Logs
-------------
### View logs from WildFly ###
1. Execute an interactive bash shell on the container
```bash
docker exec -it learning_java_ee bash
```
2. View server.log
```bash
less /opt/wildfly-10.1.0.Final/standalone/log/server.log
```
Must read
---------
- [Hibernate with PostgreSQL – 6 things you need to know](http://www.thoughts-on-java.org/hibernate-postgresql-5-things-need-know/)