Move product retrieval functionality from servlet to DAO