Hello! I have a stupid design question. I'm developing a app using Tap4.1 + Spring + Hibernate, and the clasic architecture (DAOs, BO, Service Layer and View). First question is, should the BOs exist in the View? Or should I use POs?
Now, supose you have a Business object "Departament" (and a Departament has a chief that is represented as an User property inside Departament class) and you decide that BO should be in the View, and you need to show, in a page, the name of the Departamente chief. Which of these options would you use? 1) Insert component with value="departament.chief.name" 2) Insert component with value="departamenteChief" and a getDepartamentChief function in java file that basically does return getDepartamente().getChief().getName(). 3) Something else I'm not considering. Finally, is there some documentation on how to design using tapestry? I would be great! Thanks! Marcos