December 2002
Intermediate to advanced
1050 pages
24h 49m
English
Before we can do anything significant with JDBC, we must get connected to the database. As we will find in this chapter, we will not connect directly to the database; we will connect with one or more layers of software, which will control our connection to the database.
As mentioned earlier, there are two distinct approaches for connecting to a database using JDBC: using a DriverManager directly or using a DataSource connection. This chapter presents both approaches.
There is unfortunately no standard protocol for direct communication with relational databases. Each relational database vendor has created a proprietary low-level protocol for communicating with its database engine.
In the intensely ...
Read now
Unlock full access