A JavaFX
application exists and the application is starting from the Main.class
file which extends Application
:
publ
Actually the answer for this question seems a little bit complicated it has to do with MVC pattern and it's evolution until now.We will use MVP Pattern.
After a long discussion i got a link on this website http://martinfowler.com/eaaDev/uiArchs.html defining the historical evolution of the different patterns used from the old ages of Smalltalk
until now.
The actually solution is using Model Viewer Presenter Pattern(MVP)
which can be visually described using these images:
For more you can read(http://www.wildcrest.com/Potel/Portfolio/mvp.pdf)
For an example on JavaFX have a look on James_D
answer here (Applying MVC With JavaFx)
Last but not least have a look at the comments here:
Finally:
If anything is inaccurate feel free to edit.