Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about view and model

 
Paul Sun
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read some aritcles about MVC design pattern.
The model should notify view when its data
are changed. I want to know how to implement
it. Can I use Observer pattern implement it?
BEST REGARDS.
Paul
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used the Observer pattern for my MVC (View observes my Model).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic