This is the best book about java servlets ever. Just buy it, so you will learn how to program web applications with servlets, and you won't need EJBs any more.
But keep in mind that there are lots of errors in Jason Hunter's database connection pool sample.