Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Quick start

Phillip Kruger edited this page Jul 24, 2017 · 23 revisions

Quick start

You need a Java EE 7 Server. This has been tested with:

  • Wildfly 10.1.0
  • Payara 4.1.2.172
  • TODO: Test other

Get the code

git clone https://github.com/phillip-kruger/notes-example.git

Compile and deploy to running server

mvn clean install -Pwildfly or mvn clean install -Ppayara

The application

Semantic UI with Javascript connecting to Websocket:

Swagger UI that allow access to REST Endpoints:

Log file to see the CDI Events:

Demo

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

  • Use the Swagger UI to delete the note. DELETE /note/{title}

This will remove the create note and will update the Semantic UI

Clone this wiki locally