View RSS Feed

Recent Blogs Posts

  1. Establishing a Connection

    by , 04-27-2012 at 08:03 PM
    First, you need to establish a connection with the data source you want to use. A data source can be a DBMS, a legacy file system, or some other source of data with a corresponding JDBC driver. Typically, a JDBC application connects to a target data source using one of two classes:

    • DriverManager: This fully implemented class connects an application to a data source, which is specified by a database URL. When this class first attempts to establish a connection, it automatically
    ...
  2. Establishing a Connection

    by , 03-10-2012 at 08:44 AM
    The very 1st step to use data source is to make connection with data source. Data source could be:
    • Legacy file system
    • DBMS
    • Few other data sources, with a corresponding JDBC driver


    For connecting an application to data source, these 2 classes are used.

    • DriverManager: Complete implementation is provided by this class so that to make a connection b/w application and a data source, that is specified by URL of database. JDBC drivers are automatically loaded
    ...
    Categories
    JDBC