as far as my knowledge goes, richfaces has nothing to do with data retrieval from database. Richfaces components interacts with the sever side objects. Use your DAO class to get data from db, populate the data to a List and use this List in richfaces datatable or anything similar. Are you using hibernate / JPA ? Well, you don't really have to use hibernate or JPA but it makes your life easier.
that's the problem, i am not sure who to combine everything at once...
no i am not using hibernate... not familiar with it...
is JPA different than Hibernate ?