Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: JDBC

Amaral wrote:
 > Could someone provide some reference or code example for using JDBC  in
 > Visad? Thanks for any help. amaral.
 >
 > I

Amaral:

JDBC depends on external implementations and vendor-specific products,
although the JDBC API presents a unified view of these SQL-type
databases.  Since VisAD is coded in Java, it should be possible for you
to use the JDBC APIs to read or write your DBMS files from within your
application...whether or not you are using VisAD's libraries as well.

Sun's main page is:

http://java.sun.com/products/jdbc/index.html

and they have a tutorial on this package as well:

<http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html>

There is also a Python interface, xzJDBC that ships with Jython which
you could use.  As far as I know, there are no File Adapters in
VisAD that deal specifically & directly with SQL files.

Hope that helps.

tom


-- 
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Phone/VoiceMail: 608.262.2759


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690