Thank you for your suggestions!!
---------- Forwarded message ---------- From: Jens <[email protected]> Date: Dec 8, 11:54 pm Subject: Doubt about object passed to a constructor in GWT To: Google Web Toolkit Do what feels best for you, its just personal preference I think. I prefer to only have one DAO per domain class so if I need both, an user with person and an user without person, I would go with: - UserDAO.findByXyz(int xyz) which delegates to UserDAO.findByXyz(xyz, true) or UserDAO.findByXyz(xyz, false) depending on what you think should be your default case. - UserDAO.findByXyz(int xyz, boolean withPerson) which allows you to not follow the default case if needed. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
