Skip to content

Instantly share code, notes, and snippets.

View ralfboernemeier's full-sized avatar

Ralf Boernemeier ralfboernemeier

View GitHub Profile
ralfboernemeier /
Last active June 2, 2021 06:13
Java FX MVC Example

Example of a simple JavaFX Application using MVC and DAO pattern

  • Simple app to show how to implement:
  • GUI using SceneBuilder
  • Controller/Model Injectable
  • DAO for Oracle database connection
  • Strict separation between GUI and Model/DAO

The Model-View-Controller design pattern (MVC Design Pattern)

is one of the most common pattern for structuring software. It allows a far-reaching separation of data model and its graphical representation. A clear, clear structuring, the associated ease of maintenance and the reusability of program parts are among the top objectives of a successful program design. The MVC pattern allows the architectural main parts of software to be kept separate. Three parts are to be distinguished: