Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Virtualization Demoette… JDBC Clients

Similar presentations


Presentation on theme: "Data Virtualization Demoette… JDBC Clients"— Presentation transcript:

1 Data Virtualization Demoette… JDBC Clients
Hello, and welcome to the Demoette series for Cisco Information Server, or CIS. In this Demoette, we discuss connecting as a client to CIS via JDBC.

2 Agenda What is it and why does it matter? A basic demo Summary
Here is our agenda. We begin by defining JDBC client connectivity to CIS and outlining its importance for our customers. Next we walk through a very basic demo of JDBC connectivity. Finally, we summarize the contents of this demoette.

3 Agenda What is it and why does it matter? A basic demo Summary
Let’s begin by discussing what JDBC connectivity is, and why it’s important for our customers.

4 What is it? JDBC Client Connectivity to CIS
Java Database Connectivity, an API for SQL databases Drivers available for many SQL products, including CIS Client driver installation is required JDBC stands for Java Database Connectivity. It is an API that allows client software to connect to SQL databases. Many SQL database vendors provide JDBC drivers for their products. Cisco also provides a JDBC driver for CIS. JDBC requires that a driver be available on each client machine.

5 Why does it matter? JDBC Client Connectivity to CIS
Enables data consumers to access CIS via their commercially-available tools of choice Enables custom applications to access CIS JDBC connectivity to CIS is important to our customers for two reasons. First, it enables data consumers to connect to CIS using their commercially-available data visualization tools of choice. These products can use JDBC to connect to CIS just as they would to any other SQL database. Second, JDBC connectivity makes it easy for developers to write custom applications that access CIS as a SQL database.

6 Agenda What is it and why does it matter? A basic demo Summary
Next, let’s walk through a very basic demo of JDBC connectivity to CIS.

7 Demo: Here is the business problem…
CIS Here is the business problem that we illustrate in this demo. We have created a CIS federated view from underlying physical data sources. A business analyst wants to consume this view into a data visualization tool. For this demoette, we use Squirrel, a freeware SQL tool. We will use JDBC to enable Squirrel to connect to CIS. Other client products may have their own installation instructions, but in general they will follow the steps we outline here with Squirrel.

8 Demo: Before you begin Before you begin this demo, you must download and install Squirrel. Next, make sure you have the appropriate published resource for your JDBC client connection. No CAR file is required for this demo; simply publish the ViewOrder view that is delivered with Studio in the Examples folder. <CLICK> Publish as a database, using the Datasource, Catalog, and Schema shown here.

9 Demo: Locate the CIS JDBC Driver
The CIS JDBC driver is installed as part of CIS. Its name is csjdbc.jar, and it is found in the location shown here. If you installed Squirrel on the same machine as CIS, you can leave this driver where it is. If you installed Squirrel on a remote machine, copy this file to a convenient location on the remote machine.

10 Demo: Define the Driver in Squirrel
Now we are ready to define the driver in Squirrel. <CLICK 1> Go to the Drivers tab in Squirrel… <CLICK 2> … and click Add. <CLICK 3> Give the Driver a name… <CLICK 4> … and enter the URL template shown here. This template is used to specify connection details for CIS. <CLICK 5> Go to the Extra Class Path tab… <CLICK 6> … click Add… <CLICK 7> … and enter the path to the CIS JDBC Driver jar file. <CLICK 8> When you click List Drivers… <CLICK 9> … the Driver class from the Jar file is shown. <CLICK 10> Click OK, and the driver is defined in Squirrel.

11 Demo: Define the Alias in Squirrel
Next, we define the Alias in Squirrel. This is the specific information we will use to connect to CIS. <CLICK 1> Go to the Aliases tab in Squirrel… <CLICK 2> … and click Add. <CLICK 3> Give the Alias a name… <CLICK 4> … and associate it with the Driver we defined earlier. <CLICK 5> Now we replace the template information in the driver definition with specific logon information. Our host is localhost. For a default installation of CIS we would select port 9401, because by default, CIS uses ports 9400 through However, this particular CIS instance uses ports 9420 through 9429, so we specify port Our domain is Composite, because the logon we will use is a user who is defined in CIS’s own user management domain, which is named “composite.” Data Source is the name of the CIS database we want to access. When we published our resource earlier, we named this database DemoetteJDBC. <CLICK 6> We enter the credentials of a valid user in the composite domain. <CLICK 7> Now we can click Test... <CLICK 8> … test our connection to the database… <CLICK 9> … and verify that the connection works. <CLICK 10> Click OK, and the Alias is defined in Squirrel.

12 Demo: Connect to CIS and consume data
Thanks to the CIS JDBC Driver, CIS presents itself to our data visualization tool as a SQL-compliant database. We can browse to the ViewOrder table and see its metadata… <CLICK> … view its contents… <CLICK> … and execute SQL statements against it. Our demo is complete.

13 Agenda What is it and why does it matter? A basic demo Summary
Let’s summarize what we have seen in this presentation.

14 Summary JDBC Client Connectivity to CIS
Java Database Connectivity, an API for SQL databases Drivers available for many SQL products, including CIS Client driver installation is required Enables data consumers to access CIS via their commercially-available tools of choice Enables custom applications to access CIS JDBC stands for Java Database Connectivity. It is an API that allows client software to connect to SQL databases. Many SQL database vendors provide JDBC drivers for their products. Cisco also provides a JDBC driver for CIS. JDBC requires that a driver be available on each client machine. JDBC connectivity to CIS is important to our customers for two reasons. First, it enables data consumers to connect to CIS using their commercially-available data visualization tools of choice. These products can use JDBC to connect to CIS just as they would to any other SQL database. Second, JDBC connectivity makes it easy for developers to write custom applications that access CIS as a SQL database. Thank you.

15 TOMORROW starts here.


Download ppt "Data Virtualization Demoette… JDBC Clients"

Similar presentations


Ads by Google