Ejbs and Daos for data mining