I knew we can access the database by using the Driver Manger in jsp and servlet . At the same time in some other tutorial i seen , they are using DAO. I want to know totally how many ways is there to access the database and making a connection? please refer documentation also for (JSP and Servlet)!!