Chapter 5. Using Databases and Transactions with JDBC and JTA

In this chapter:

  • How to build database connectivity in WebLogic Server applications

  • Sample database access using JDBC

  • Best practices for using JDBC in WebLogic Server

  • Using JDBC in transactions

  • Sample JTA use

  • Prepared statements, metadata, and batch database operations

  • Coding database access in the WebAuction application

This chapter focuses on designing and coding database access for your applications, using WebLogic Server Java Database Connectivity (JDBC) and the Java Transaction API (JTA). JDBC technology provides the basic APIs for connecting your client application to a database and submitting Structured Query Language (SQL) commands to select or modify data. JTA technology and other ...

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.