Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Domain model, layers and swing  RSS feed

 
biraji gafiff
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, i was reading "Appling UML and patterns" and there the form code(screen) of the application have the model class, for example, Car or Sell, and it register itself as a listener of some event of the class like theCar.addListenerXXX(this).
Is this correct? Everytime the form code has to have the domain model to do it, it doesn't broke the layer pattern?

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!