Skip to content

SWEng-Tutorial/helloocsf-wesal-amasha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

helloocsf-wesal-amasha created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages