Codebase for the blog post #HOWTO: Write Java EE applications with Kotlin
Steps to run this project:
- Clone this Git repository
- Navigate to the folder
java-ee-with-kotlin - Start your Docker daemon
- Execute
buildAndRun.bat(for Windows) andbuildAndRun.sh(for Linux/Mac) - Wait until Open Liberty is read to access requests:
docker logs -f java-ee-with-kotlin - Hit the following endpoints with (HTTP GET):
http://localhost:9080/resources/books
http://localhost:9080/resources/books/1
http://localhost:9080/resources/books/42