Re: Should Beans access directly to DB to full themself und to update db?
Posted By:
guru_prasanth
Posted On:
Friday, December 31, 2004 02:42 AM
beans should not directly acess database.I am assunming beans in ur application are nothing but entity objects.what u can do is write a dao class which with do the data access and set the values of database to ur entity objectsn and vice versa.just check the DAO patter and VO pattern