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.

[306 byte] By [Jatin_Kulkarnia] at [2007-11-26 17:14:09]
# 1
Constructor is correct. Try your best not to use the accessors. JSF will call the accessors multiple times per page request.CowKing
IamCowKinga at 2007-7-8 23:42:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...