Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MVC architecture in JavaFX 2.0

802033Jun 26 2011 — edited Jun 27 2011
Hello,
I have maybe a basic question but anyway: how to effectively build an application using the MVC architecture.

I'd like to build relatively complex Model of a world with many dynamic objects which are created, modified (animated) and deleted during the time. And I want to separate the Model from any graphical representation.
Does it make sense to build separate Model with own objects and another set of graphical objects somehow synchronized with the Model objects? Or should the Model objects represent directly their Graphical representaion in a Scene graph?
So what's the best approach and in case of separate objects how to synchronize UI with the Model?

Thanks!

Rada
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2011
Added on Jun 26 2011
2 comments
290 views