This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Quick start
Phillip Kruger edited this page Nov 22, 2017
·
23 revisions
You need a Java EE 7 Server. This has been tested with:
- Wildfly 10.1.0
- Payara 4.1.2.172
- TomEE Plus 7.0.3
- TODO: Test other
You can also run this on Kubernetes as a Docker image
git clone https://github.com/phillip-kruger/notes-example.git
Wildfly
cd notes-example/notes-application
mvn clean install -Pwildfly
or Payara
cd notes-example/notes-application
mvn clean install -Ppayara
or TomEE
cd notes-example/notes-application
mvn clean install -Ptomee
JSF UI with Bootstrap
Semantic UI with Javascript connecting to Websocket:
Swagger UI that allow access to REST Endpoints:
WSDL that defines the SOAP Endpoints:
Log file to see the CDI Events:
- Start the log file in the stompee ui
- Use the Swagger UI to create a note. POST /note/{title}
This will create a new note, fire a CDI event that will be visible in the log file, and the Semantic UI will update with the note via websockets. The note is persisted to a DB.
- Use the Swagger UI to delete the note. DELETE /note/{title}
This will remove the create note and will update the Semantic UI via websockets
(c) 2017 Phillip Kruger . www.phillip-kruger.com