Skip to content
Public template

About

A full example of OCSF, JavaFX and EventBus, all running beautifully using Maven.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCSF Mediator Example

Structure

Pay attention to the three modules:

  1. client - a simple client built using JavaFX and OCSF. We use EventBus (which implements the mediator pattern) in order to pass events between classes (in this case: between SimpleClient and PrimaryController.
  2. server - a simple server built using OCSF.
  3. entities - a shared module where all the entities of the project live.

Running

  1. Run Maven install in the parent project.
  2. Run the server using the exec:java goal in the server module.
  3. Run the client using the javafx:run goal in the client module.
  4. Press the button and see what happens!

About

A full example of OCSF, JavaFX and EventBus, all running beautifully using Maven.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages