Chapter 14. Database Connectivity

Why have a chapter about database connectivity in a book on Servlets and JSP? Databases are widely used in business today. Just about every real-world application will use databases in some form or another. The advertised mindset in J2EE is to build an application that uses an EJB[1] layer to hide database connectivity. In practice this can work, but it is often more problematic than it is helpful. In this book we are taking the approach that you should not have to use EJB and that instead you should know more about database connectivity. By taking this approach, you will be able to build complete Web Applications without having to worry about a slew of other J2EE specifications. However, if one day you decide ...

Get Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.