I am making a website with GWT and using Hibernate to connect to the database.
Every time a user loads a page and it is required to grab information off the database. Is it better to have monolithic classes containing all the getters/setters for the tables, and select the information as needed, or is it better to have many different class maps that only loads the information needed for that page load?
Having the monolithic class is better because it is more easily cacheable, but I find that having smaller classes is more manageable.