-1

I would like to know how to bind my domain object with are POJOs to my GUI component. Should I inject my domain object to the constructor of my view, or is there a better design? Does my domain object have to extend a specific class?

divibisan
  • 11,659
  • 11
  • 40
  • 58
wotan2009
  • 151
  • 1
  • 3
  • 6

1 Answers1

0

Use Model-View-Controller architecture and think of you domain object as a model. Binding usually happens in Controller. To simplify it - use a framework such as Better Beans Binding

Eugene Ryzhikov
  • 17,131
  • 3
  • 38
  • 60