Beruflich Dokumente
Kultur Dokumente
Java Middleware
program Type-3 server Type-1 database
Type-2
Type-4
6. In case of type-3 driver the original database connectivity take care by middleware server.
7. Type 3 drivers shine when supporting Internet deployment in environments that connect to a
variety of DBMS servers requiring numerous concurrently connected users where performance
and scalability are major concerns. Therefore, to develop a high-performance, Internet-deployable
application, you'll often find it useful to convert your existing type 1 or 2 drivers to type 3 drivers.
Advantages
1. Type-3 driver is both platform independent and also database independent.
2. It is suitable for Real-time environment.
3. Heterogeneous database access.
A single IDS server can connect multiple heterogeneous database at the same time. Oracle,
Sybase, Informix, DB2, MYSQL, etc…
Drawbacks
1. Type-3 driver is server dependent.
2. A middleware server needs to be installing to work with type-3 driver.
3. Type-3 driver is slower than type-4 driver.
4. Type-3 driver uses a network protocol for connecting a java program with an application that is
running at server. After that the application running at server will take care remaining database
connectivity.
5. In case of IDS server JDBC driver connects java program and servlet application running in that
server after that servlet application takes care about connecting with database.
IDS Server
1. IDS server is open source middleware server provides type-3 JDBC driver called IDS driver.
2. Whenever we installed IDS server then it will be automatically started and it runs on port no. 13.
3. We can get IDS from www.idssoftware.com.
4. To verify whether IDS sever has started or not, we can open windows services from administrator
tools and we can find out in list of services IDB server started.
5. The following java program represents the type-3 driver, connecting with oracle database using
IDS server as middleware.