J2EE

Java 2 EE

Type 4 – the Native-Protocol Driver

July 6, 2010
By admin

The JDBC type 4 driver, also known as the native-protocol driver is a database driver implementation that converts JDBC calls directly into the vendor-specific database protocol. The type 4 driver is written completely in Java and is hence platform independent. It is installed inside the Java Virtual Machine of the client. It provides better...
Read more »

Posted in J2EE, JDBC | No Comments »

Type 3 driver – the Network-Protocol Driver

July 6, 2010
By admin

The JDBC type 3 driver, also known as the network-protocol driver is a database driver implementation which makes use of a middle-tier between the calling program and the database. The middle-tier (application server) converts JDBC calls directly or indirectly into the vendor-specific database protocol. This differs from the type 4 driver in that the...
Read more »

Posted in J2EE, JDBC | No Comments »

Type 2 Driver – the Native-API Driver

July 6, 2010
By admin

The JDBC type 2 driver, also known as the Native-API driver is a database driver implementation that uses the client-side libraries of the database. The driver converts JDBC method calls into native calls of the database API. The type 2 driver is not written entirely in Java as it interfaces with non-Java code that...
Read more »

Posted in J2EE, JDBC | No Comments »

Type 1 Driver- the JDBC-ODBC bridge

July 6, 2010
By admin

The JDBC type 1 driver, also known as the JDBC-ODBC bridge is a database driver implementation that employs the ODBC driver to connect to the database. The driver converts JDBC method calls into ODBC function calls. The bridge is usually used when there is no pure-Java driver available for a particular database. The driver...
Read more »

Posted in J2EE, JDBC | 1 Comment »

Log4j logging levels

June 23, 2010
By admin

Severity of log messages is ordered, from highest to lowest: fatal – Consider logging to console and system log. error – Consider logging to console and system log. warn – Consider logging to console and system log. info – Consider logging to console and system log. debug – Log to system log, if enabled....
Read more »

Posted in J2EE, log4j | No Comments »

Calendar

    September 2010
    M T W T F S S
    « Jul    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930