database access class and Servlet