title: Observer/observable objects with MVC pattern
body: <p>I have this situation:</p>
  
  <p>An object that it's observable and another object that it is observer.</p>
  
  <p>the observer has a method <code>update(Observable obs,Object obj)</code> that receive through <code>notifyObservers</code> the object changed.when observer receives the notify, update method prints the object changed. I want print out the result in a gui that implements MVC pattern.I'm following  this guide <a href="http://www.oracle.com/technetwork/articles/javase/index-142890.html" rel="nofollow">MVC pattern</a>.
  My idea is to make the <code>Controller</code> the observer. something like that:</p>
  
  <pre><code>public class Controller extends AbstractController implements Observer 
  {
      public static final String TOTAL_HIT_COUNT_PROPERTY = "Total Hit";
  
      public void changeTotalHitCount(long new_total_hit_count)
      {
          setModelProperty(TOTAL_HIT_COUNT_PROPERTY, new_total_hit_count);
      }
  
      @Override
      public void update(Observable o, Object arg) 
      {
  
      }
  }
  </code></pre>
  
  <p>but I don't know if it's a correct implementation!</p>