BookRegister Plain JDBC for db interaction, log4j, xml api. For using connection pool you need to configure your application server. For example in Tomcat context.xml should be specified: