JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Oracle JDBC connection Failover in dbquery-ds-1.4
Forum Index » Rhino SLEE Discussions
Author Message
heshamhabib


Joined: 16/10/2014 23:59:38
Messages: 17
Location: Egypt
Offline

Hi,

How to configure dbquery-ds-1.4 with Oracle JDBC connection Failover as below?


What values should be provided in below attributes?
ServerName:
URL:
DataSourceClass:

Best Regards,

Hesham Habib
Lead VAS Engineer
[Email]
raygmurphy


Joined: 02/02/2017 18:01:33
Messages: 1
Offline

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 loads any JDBC 4.0 drivers found within the class path. Note that your application must manually load any JDBC drivers prior to version 4.0.
DataSource: This interface is preferred over DriverManager because it allows details about the underlying data source to be transparent to your application. A DataSource object's properties are set so that it represents a particular data source. See Connecting with DataSource Objects for more information. For more information about developing applications with the DataSource class, see the latest The Java EE Tutorial.
Check over here for getting the complete info.
 
Forum Index » Rhino SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team