where to put the database access logic
I have an input page which contains Id parameter. Based on Id parameter the values have to be pulled out of database and displayed on the output page. Both are backed by beans. Where should I put my data access logic. Currently I am using the constructor of output backing bean to retrieve the data.

