Application Note for OpenAccess
|
|
- Gyles Preston
- 6 years ago
- Views:
Transcription
1 Please contact OpenAccess Sales Application Note for OpenAccess Subject: Using OpenAccess SDK With Java Date: March 2002 Markets: Java Developers Overview Requirements are to be able to expose data stored and or managed by Java environment through ODBC, JDBC, OLE DB, or.net compliant interface. This will allow end users to use standard APIs from Java, UNIX, or Windows applications to access this data. For example, objects stored in the Java environment can be exposed to Microsoft Excel or Crystal Reports. For this application note assume we have a Java application server that implements a data store consisting of a single table with some columns. We want to be able to use ODBC to get this information into Windows applications like Crystal Reports. Assume that Java Application server is running on a Windows NT Server and we want to implement a client/server solution. Java Virtual Machine Crystal Reports O D B C Network JAVA Data Solution Figure 1: ODBC Access to Java Data OpenAccess SDK can be used to implement ODBC, OLE DB, JDBC, or.net compliant access to Java data sources. OpenAccess SDK is written in C but it can work with Java environment using. To facilitate the development of ODBC, OLE DB and JDBC drivers to data sources developed using Java, we supply a layer of code that hides the Java programmer from any C to Java integration issues. The IP developer just implements a class that supports the IP oajava.sql.ip interface. This class uses the JDAM Java class to interface to the DAM. This architecture allows the Java programmer to use the same features they could from C or C++ developed IP.
2 OpenRDA Driver (ODBC, JDBC, OLE DB,.NET) OpenAccess API and C/S Layers TCP/IP JVM Running Your Java App OpenRDA Shared Library (DLL or SO) OpenAccess provides the client/server communications, query parsing and the query processing. SQL Engine (DAM) IP Proxy DAM Proxy Java IP supplied by ATI to facilitate the Java to C interface. IP Proxy routes all IP API calls to the Java Class. The DAM Proxy exposes the DAM to the JDAM Java class the IP class will use. IP Class Your Data JDAM Custom code you write to implement the IP interface to access your data. Figure 2: Client/Server Configuration JVM Loads OpenAccess We support two approaches for the client/server configuration: 1) Embed the OpenAccess server code within the Java application (Figure 2) this way OpenAccess and your data reside in the same JVM process. 2) Have OpenAccess server code load the JVM into this process space at run-time (Figure 3) in this configuration if the data resides in an external file store then Java objects within this JVM can access it. If the data resides in a Java application server then RMI must be used. OpenRDA Driver (ODBC, JDBC, OLE DB,.NET) OpenAccess API and C/S Layers TCP/IP OpenRDA Server for Java SQL Engine (DAM) OpenAccess provides the client/server communications, query parsing and the query processing. IP Proxy DAM Proxy Java Virtual Machine Java IP supplied by ATI to facilitate the Java to C interface. IP Proxy routes all IP API calls to the Java Class. The DAM Proxy exposes the DAM to the JDAM Java class the IP class will use. IP Class JDAM Custom code you write to implement the IP interface to access your data. Your Data Figure 3: Client/Server Configuration OpenAccess Loads JVM 2
3 Approach (1) makes use of OpenAccess s ability to be embedded in a process. This is achieved by building a shared library (DLL on Windows and shared library on Unix) that will contain the OpenRDA Server code, the SQL engine, and the Java IP code and executing it on a thread created by the Java application. The advantage of this approach is that all the processing is done within the same process. The disadvantage is that you are running native code that will generate threads and perform other processing within the JVM process. You must weigh the benefits of speed vs. the possibility of the JVM being affected by errors during ODBC access. In approach (2) the OpenAccess components are compiled into a server process. This server process at run-time loads the JVM and uses it to execute the Java class you register for your IP. If your IP code needs to access Java objects in another JVM then it must use RMI or some other interprocess communications mechanism. The architecture of a local ODBC driver for Java is shown in Figure 4. The OpenRDA ODBC driver for Java is a shrink wrapped component supplied as a DLL. It implements the ODBC API and contains the SQL engine. At run-time it loads the JVM and the class your registered with the OpenRDA administrator for implementing the IP interface. OpenRDA ODBC Driver for Java ODBC API SQL Engine (DAM) Provides the ODBC API processing Query parsing and the query execution. IP Proxy DAM Proxy Java Virtual Machine IP Class JDAM Java IP supplied by ATI to facilitate the Java to C interface. IP Proxy routes all IP API calls to the Java Class. The DAM Proxy exposes the DAM to the JDAM Java class the IP class will use. Custom code you write to implement the IP interface to access your data. Your Data Figure 4: Local ODBC Driver Configuration Conclusion This application note covered how the OpenAccess SDK can be used to implement an ODBC, JDBC, OLE DB, or a.net driver by writing the Interface Provider in Java. Please contact OpenAccess Software at support@openaccesssoftware.com to obtain the Java edition of the OpenAccess SDK. The Java code for Example1 IP is included at the end of this application note. 3
4 Sample Code Below is the IP code in Java that accesses the MDB Java class to walk through the records and for each record obtain the column values. This example implements a class example1 that supports the oajava.sql.ip interface. /* example1.java * * (c) OpenAccess Software, Inc. * * Programer(s): * * * Description: This example IP * - is implemented in "JAVA" * - supports static schema * - supports single column indexe on column NAME * - supports SELECT operations */ package oajava.ip; import java.util.date; import java.util.calendar; import oajava.sql.*; /* define the class Example1 to implement the sample IP */ public class example1 implements oajava.sql.ip private int m_tmhandle = 0; private int m_inumresrows; private StringBuffer stablename; /* Name of the table being queried (char [DAM_MAX_ID_LEN+1] )*/ private static mdb m_pmdb = null; /* index information */ private StringBuffer sindexname; /* char [DAM_MAX_ID_LEN+1] */ private xo_int hindex; /* DAM_HINDEX */ private xo_int hset_of_condlist; /* DAM_HSET_OF_CONDLIST */ /* column handles */ private int hcolname, hcolintval, hcoldoubleval, hcoltime; /* DAM_HCOL */ public example1() m_tmhandle = 0; m_inumresrows = 0; stablename = new StringBuffer(ip.DAM_MAX_ID_LEN + 1); sindexname = new StringBuffer(ip.DAM_MAX_ID_LEN + 1); hcolname = 0; hcolintval = 0; hcoldoubleval = 0; hcoltime = 0; hindex= new xo_int(0); hset_of_condlist = new xo_int(0); /*create one instance of the mdb object */ if(m_pmdb == null) m_pmdb = new mdb(); public String ipgetinfo(int iinfotype) String str = ""; switch (iinfotype) case IP_INFO_QUALIFIER_NAME: str = "SCHEMA"; case IP_INFO_FILTER_VIEWS_WITH_QUALIFIER_NAME: str = "0"; /* false */ break; 4
5 return str; /* this version does not use this method */ public int ipgetsupport(int isupporttype) return(0); /*ipconnect is called immediately after an instance of this object is created. You should *perform any tasks related to connecting to your data source */ public int ipconnect(int tmhandle,int dam_hdbc,string sdbname, String susername, String spassword) /* Save the trace handle */ m_tmhandle = tmhandle; jdam.tm_trace(m_tmhandle, UL_TM_F_TRACE,"ipConnect called\n"); /* Code to connect to your data source source. for our sample MDB database no need to connect */ public int ipdisconnect(int dam_hdbc) /* disconnect from the data source */ jdam.tm_trace(m_tmhandle, UL_TM_F_TRACE,"ipDisonnect called\n"); public int ipstarttransaction(int dam_hdbc) /* start a new transaction */ jdam.tm_trace(m_tmhandle, UL_TM_F_TRACE,"ipStartTransaction called\n"); public int ipendtransaction(int dam_hdbc,int itype) /* end the transaction */ jdam.tm_trace(m_tmhandle, UL_TM_F_TRACE,"ipEndTransaction called\n"); if (itype == DAM_COMMIT) else if (itype == DAM_ROLLBACK) public int ipexecute(int dam_hstmt, int istmttype, int hsearchcol,xo_int pinumresrows) int iretcode; jdam.tm_trace(m_tmhandle, UL_TM_F_TRACE,"ipExecute called\n"); /* get the table information */ jdam.dam_describetable(dam_hstmt, null, null, stablename,null, null); /* get the column handles */ hcolname = jdam.dam_getcol(dam_hstmt,"name"); hcolintval = jdam.dam_getcol(dam_hstmt,"intval"); hcoldoubleval = jdam.dam_getcol(dam_hstmt,"floatval"); hcoltime = jdam.dam_getcol(dam_hstmt,"time"); /* initialize the result */ m_inumresrows = 0; /* process the query based on the type */ if (istmttype == DAM_SELECT) /* get the index information and process the query*/ iretcode = jdam.dam_getoptimalindexandconditions(dam_hstmt, hindex, hset_of_condlist); if (iretcode!= DAM_SUCCESS) return IP_FAILURE; /* return on error */ /* use index information for optimized query processing - cases where NAME='Joe' type of conditions appear in the query*/ if(hindex.getval() > 0) jdam.tm_trace(m_tmhandle, UL_TM_MAJOR_EV,"Using optimized processing\n"); 5
6 */ jdam.dam_describeindex(hindex.getval(), null, sindexname, null, null, null); iretcode = java_optimize_exec(dam_hstmt, hindex, hset_of_condlist,istmttype,pinumresrows); jdam.dam_freesetofconditionlist(hset_of_condlist.getval()); /* free the set of condition list if (iretcode!= IP_SUCCESS) /* check for errors */ return IP_FAILURE; else /* non-optimized query processing -- cases where no WHERE clause or conditions on columns otther than NAME. */ jdam.tm_trace(m_tmhandle, UL_TM_MAJOR_EV,"Doing a full table scan\n"); iretcode = java_exec(dam_hstmt,istmttype,pinumresrows); if (iretcode!= IP_SUCCESS) return iretcode; else return IP_FAILURE; /* this example uses static schema so this function is not called */ public int ipschema(int dam_hdbc,int itype, int plist, int psearchobj) return 0; // Utility functions int java_optimize_exec(int dam_hstmt, xo_int hindex, xo_int hset_of_condlist,int istmttype, xo_int pinumresrows) int hcur_condlist; /* DAM_HCONDLIST */ int hcond; /* DAM_HCOND */ int hrow; /* DAM_HROW */ int iretcode; m_inumresrows = 0; pinumresrows.setval(0); /* get the conditions on index columns */ hcur_condlist = jdam.dam_getfirstcondlist(hset_of_condlist.getval()); while (hcur_condlist!= 0) xo_int ileftop = new xo_int(0); xo_int ileftvaltype = new xo_int(0); String pleftdata; int imdbindex; xo_int irc = new xo_int(dam_success); /* Each condition list will have only one condition, since its a single column index */ hcond = jdam.dam_getfirstcond(dam_hstmt, hcur_condlist); /* get details of the condition. since this example does not support BETWEEN, we do not need to get the values for RIGHT part of condition */ iretcode = jdam.dam_describecond(hcond, ileftop,ileftvaltype, null, null); if (iretcode!= DAM_SUCCESS) return IP_FAILURE; /* return on error */ pleftdata = (String) jdam.dam_getcondval(hcond); /* build result rows that match current index condition */ imdbindex = m_pmdb.finditembyname(pleftdata); if (imdbindex > 0) /* found a match */ String sname; int iintval; double ddoubleval; long ltime; /* read row from the memory database */ m_pmdb.readrow(imdbindex - 1); /* Get the field values from the Row */ sname = m_pmdb.getname(); iintval = m_pmdb.getintval(); ddoubleval = m_pmdb.getdval(); ltime = m_pmdb.gettime(); /* build the DAM row with the values read from memory database */ 6
7 hrow = java_build_row(dam_hstmt, sname, iintval, ddoubleval, ltime); if (hrow == 0) return IP_FAILURE; /* return on error */ /* process the row */ iretcode = java_process_row(dam_hstmt, istmttype,hrow); if (iretcode!= IP_SUCCESS) return iretcode; /* return on error */ hcur_condlist = jdam.dam_getnextcondlist(hset_of_condlist.getval()); pinumresrows.setval(m_inumresrows); /* this function is called to do a full table scan */ public int java_exec(int dam_hstmt, int istmttype, xo_int pinumresrows) int hrow; /* DAM_HROW */ int iretcode; int iintval; double ddoubleval; long ltime; boolean bfound = false; String sname; m_inumresrows = 0; pinumresrows.setval(0); /* read row from the memory database */ bfound = m_pmdb.firstrow(); while (bfound) /* Get the Row */ sname = m_pmdb.getname(); iintval = m_pmdb.getintval(); ddoubleval = m_pmdb.getdval(); ltime = m_pmdb.gettime(); /* build the DAM row with the values read from memory database */ hrow = java_build_row(dam_hstmt, sname, iintval, ddoubleval, ltime); if (hrow == 0) return IP_FAILURE; /* return on error */ /* process the row */ iretcode = java_process_row(dam_hstmt, istmttype,hrow); if (iretcode!= IP_SUCCESS) return iretcode; /* return on error */ /* read next row from the memory database */ bfound = m_pmdb.nextrow(); pinumresrows.setval(m_inumresrows); /* given the raw values, build a DAM ROW structure */ public int java_build_row(int dam_hstmt, String sname, int iintval, double ddoubleval, long ltime) int hrow = 0; int iretcode; xo_tm xotime; /* allocate a new row */ hrow = jdam.dam_allocrow(dam_hstmt); /* change the column values to data types accepted by DAM*/ xotime = java_cvrt_time_to_xotm(ltime); if(xotime == null) return 0; /* set values for columns of the row */ iretcode = jdam.dam_addcharvaltorow(dam_hstmt, hrow, hcolname,sname,xo_nts); if (iretcode!= DAM_SUCCESS) return 0; iretcode = jdam.dam_addintvaltorow(dam_hstmt, hrow, hcolintval, iintval,0); if (iretcode!= DAM_SUCCESS) return 0; iretcode = jdam.dam_adddoublevaltorow(dam_hstmt, hrow, hcoldoubleval,ddoubleval,0); if (iretcode!= DAM_SUCCESS) return 0; iretcode = jdam.dam_addtimestampvaltorow(dam_hstmt, hrow, hcoltime,xotime,0); if (iretcode!= DAM_SUCCESS) return 0; return hrow; int java_process_row(int dam_hstmt, int istmttype,int hrow) switch (istmttype) 7
8 case DAM_SELECT: if (jdam.dam_istargetrow(dam_hstmt, hrow) == DAM_TRUE) jdam.dam_addrowtotable(dam_hstmt, hrow); m_inumresrows++; else jdam.dam_freerow(hrow); break; default: break; xo_tm java_cvrt_time_to_xotm(long ltime) Date dt = new Date(lTime * 1000); Calendar ptm = Calendar.getInstance(); xo_tm pxotm = new xo_tm(); if(pxotm == null ptm == null dt == null) return null; ptm.settime(dt); /* copy the local time to xo_tm variable */ pxotm.setval(xo_tm.second,ptm.get(calendar.second)); pxotm.setval(xo_tm.minute,ptm.get(calendar.minute)); pxotm.setval(xo_tm.hour,ptm.get(calendar.hour_of_day)); pxotm.setval(xo_tm.day_of_month,ptm.get(calendar.day_of_month)); pxotm.setval(xo_tm.month,ptm.get(calendar.month)); pxotm.setval(xo_tm.year,ptm.get(calendar.year)); pxotm.setval(xo_tm.day_of_week,ptm.get(calendar.day_of_week)); pxotm.setval(xo_tm.day_of_year,ptm.get(calendar.day_of_year)); if(calendar.dst_offset > 0) pxotm.setval(xo_tm.is_dst,1); else pxotm.setval(xo_tm.is_dst,0); pxotm.setval(xo_tm.fraction,ptm.get(calendar.millisecond) * ); return pxotm; 8
Provide Real-Time Data To Financial Applications
Provide Real-Time Data To Financial Applications DATA SHEET Introduction Companies typically build numerous internal applications and complex APIs for enterprise data access. These APIs are often engineered
More informationProgress DataDirect OpenAccess TM SDK 8.1. Upgrade Notes
Progress DataDirect OpenAccess TM SDK 8.1 Upgrade Notes September 2016 Contents OPENACCESS SDK VERSION 8.1... 5 HIGHLIGHTS... 5 OpenAccess SDK SQL Engine and IP SDK... 5 OpenAccess SDK Server... 5 OpenAccess
More informationClient/Server-Architecture
Client/Server-Architecture Content Client/Server Beginnings 2-Tier, 3-Tier, and N-Tier Architectures Communication between Tiers The Power of Distributed Objects Managing Distributed Systems The State
More informationHow to Configure Informix Connect and ODBC
Platform: Informix How to Configure Informix Connect and ODBC James Edmiston Informix DBA Consultant Quest Information Systems, Inc. Session: L7 /3:30 Purpose Identify Informix connectivity products and
More informationCrystal Reports. Overview. Contents. Open Database Connectivity (ODBC)
Overview Contents This document focuses on technology and how it interacts with Crystal Reports (CR) 9 or later. This document is mostly theory but it is important to understand the concepts covered as
More informationCS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University
9/5/6 CS Introduction to Computing II Wayne Snyder Department Boston University Today: Arrays (D and D) Methods Program structure Fields vs local variables Next time: Program structure continued: Classes
More informationCrystal Reports XI Release 2
Overview Contents This document explains how use the new Office 2007 ODBC and OLE DB drivers with Crystal Reports so that reports can be created on data stored in these new Office file types. INTRODUCTION...
More informationDQpowersuite. Superior Architecture. A Complete Data Integration Package
DQpowersuite Superior Architecture Since its first release in 1995, DQpowersuite has made it easy to access and join distributed enterprise data. DQpowersuite provides an easy-toimplement architecture
More informationCS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1
P a g e 1 CS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1 Q1 Describe some Characteristics/Advantages of Java Language? (P#12, 13, 14) 1. Java
More informationJDBC SHORT NOTES. Abstract This document contains short notes on JDBC, their types with diagrams. Rohit Deshbhratar [ address]
JDBC SHORT NOTES Abstract This document contains short notes on JDBC, their types with diagrams. Rohit Deshbhratar [Email address] JDBC Introduction: Java DataBase Connectivity, commonly known as JDBC,
More informationCS221 Lecture: Java Database Connectivity (JDBC)
CS221 Lecture: Java Database Connectivity (JDBC) Objectives: 1. To introduce using JDBC to access a SQL database revised 10/20/14 Materials: 1. Projectable of registration system architecture. 2. JDBC
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 14 Database Connectivity and Web Technologies Database Connectivity Mechanisms by which application programs connect and communicate
More informationTimesTen Driver Manager User Guide
TimesTen Driver Manager User Guide Version: 2.0 Date: 14th August 2011 Introduction to the TimesTen Driver Manager... 1 What is a Driver Manager and why might I need one?... 1 Advantages and disadvantages
More informationL6 Application Programming. Thibault Sellam Fall 2018
L6 Application Programming Thibault Sellam Fall 2018 Topics Interfacing with applications Database APIs (DBAPIS) Cursors SQL!= Programming Language Not a general purpose programming language Tailored for
More informationOverview. ❶ Short introduction to the company. ❶ Short history of database and DBMS. ❶ What is the next DBMS s generation? ❶ Introduction to Tamino
❶ The XML Company Overview ❶ Short introduction to the company ❶ Short history of database and DBMS ❶ What is the next DBMS s generation? ❶ Introduction to Tamino Enterprise Transaction Suite High-Performance
More informationCBRN Data Import/Export Tool (CDIET) Presented by: Darius Munshi
CBRN Data Import/Export Tool (CDIET) Presented by: Darius Munshi 1 Cubic Company Proprietary 2 Presentation Outline Introduction to CDIET Benefits provided to user Scope Statement Timeline for development
More informationActive Server Pages Architecture
Active Server Pages Architecture Li Yi South Bank University Contents 1. Introduction... 2 1.1 Host-based databases... 2 1.2 Client/server databases... 2 1.3 Web databases... 3 2. Active Server Pages...
More informationKyle Brown Knowledge Systems Corporation by Kyle Brown and Knowledge Systems Corporation
Kyle Brown Knowledge Systems Corporation 1 What is the JDBC? What other persistence mechanisms are available? What facilities does it offer? How is it used? 2 JDBC is the Java DataBase Connectivity specification
More informationPart I: Exploring Business Reports in Home and Specialty Infusion
Part I: Exploring Business Reports in Home and Specialty Infusion Tracy M. Salsa, MBA, BSN, RN Regional Sales Manager, Amerita, Inc. Melinda Silolahti Vice President Finance, Amerita, Inc. 2016 NHIA Annual
More informationCrystal Reports. Overview. Contents. Differences between the Database menu in Crystal Reports 8.5 and 9
Crystal Reports Differences between the Database menu in Crystal Reports 8.5 and 9 Overview Contents If you cannot find a command that exists in Crystal Reports 8.5 from the Database menu in Crystal Reports
More informationProject Documentation
Project Documentation A JDBC Driver Supporting Data Integration and Evolution Jian Jia Goals University of Iowa, Iowa City, IA jjia@cs.uiowa.edu This project will produce a Unity JDBC Driver that is compliant
More informationActian Hybrid Data Conference 2018 London
Disclaimer This document is for informational purposes only and is subject to change at any time without notice. The information in this document is proprietary to Actian and no part of this document may
More informationQuickSpecs. ISG Navigator for Universal Data Access M ODELS OVERVIEW. Retired. ISG Navigator for Universal Data Access
M ODELS ISG Navigator from ISG International Software Group is a new-generation, standards-based middleware solution designed to access data from a full range of disparate data sources and formats.. OVERVIEW
More informationIntroduction to Programming Using Java (98-388)
Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;
More informationCrystal Reports XI Release 2 for Windows
Revision Date: March 14, 2007 Crystal Reports XI Release 2 for Windows Overview Contents This document lists specific platforms and configurations for the Crystal Reports XI Release 2. INTRODUCTION...
More informationIntegration and Extensibility
Integration and Extensibility The OpenEdge Strategy Mike Marriage Senior Principal Product Manager mmarriag@progress.com Agenda Introduction Data, Data Everywhere The Tools Of The Trade Final Thoughts
More informationDatabase Server. 2. Allow client request to the database server (using SQL requests) over the network.
Database Server Introduction: Client/Server Systems is networked computing model Processes distributed between clients and servers. Client Workstation (usually a PC) that requests and uses a service Server
More informationIntroducing the SAS ODBC Driver
1 CHAPTER 1 Introducing the SAS ODBC Driver Overview: The SAS ODBC Driver 1 What Is ODBC? 2 What Is the SAS ODBC Driver? 2 Types of Data Accessed with the SAS ODBC Driver 3 Understanding SAS 5 SAS Data
More informationThe NetRexx Interpreter
The NetRexx Interpreter http://www2.hursley.ibm.com/netrexx/ RexxLA / WarpTech -- 26 May 2000 Mike Cowlishaw IBM Fellow mfc@uk.ibm.com netrexxi Overview Introduction to NetRexx Demo. -- compiling and interpreting
More informationCreating Enterprise and WorkGroup Applications with 4D ODBC
Creating Enterprise and WorkGroup Applications with 4D ODBC Page 1 EXECUTIVE SUMMARY 4D ODBC is an application development tool specifically designed to address the unique requirements of the client/server
More informationDatabase Application Development
CS 500: Fundamentals of Databases Database Application Development supplementary material: Database Management Systems Sec. 6.2, 6.3 DBUtils.java, Student.java, Registrar.java, RegistrarServlet.java, PgRegistrar.sql
More informationCS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question)
CS/B.TECH/CSE(New)/SEM-5/CS-504D/2013-14 2013 OBJECT ORIENTED PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give their answers
More informationBonus Content. Glossary
Bonus Content Glossary ActiveX control: A reusable software component that can be added to an application, reducing development time in the process. ActiveX is a Microsoft technology; ActiveX components
More informationW h i t e P a p e r. Integration Overview Importing Data and Controlling BarTender from Within Other Programs
W h i t e P a p e r Integration Overview Importing Data and Controlling BarTender from Within Other Programs Contents Contents...2 Introduction...3 Selecting the Desired Label Data...3 Why you Usually
More informationData Sheet: ITTIA ODBC. Copyright 2005 ITTIA LLC All rights reserved
Data Sheet: ITTIA ODBC Copyright 2005 ITTIA LLC All rights reserved Data Sheet: ITTIA ODBC ITTIA ODBC meets the needs of developers who need to connect their db.* Open Source database or proprietary Birdstep
More informationITP 140 Mobile Technologies. Databases Client/Server
ITP 140 Mobile Technologies Databases Client/Server Databases Data: recorded facts and figures Information: knowledge derived from data Databases record data, but they do so in such a way that we can produce
More informationSAS ODBC Driver. Overview: SAS ODBC Driver. What Is ODBC? CHAPTER 1
1 CHAPTER 1 SAS ODBC Driver Overview: SAS ODBC Driver 1 What Is ODBC? 1 What Is the SAS ODBC Driver? 2 Types of Data Accessed with the SAS ODBC Driver 3 Understanding SAS 4 SAS Data Sets 4 Unicode UTF-8
More informationJDBC. Sun Microsystems has included JDBC API as a part of J2SDK to develop Java applications that can communicate with databases.
JDBC The JDBC TM API is the application programming interface that provides universal data access for the Java TM platform. In other words, the JDBC API is used to work with a relational database or other
More informationDatabase Application Development
Database Application Development Linda Wu (CMPT 354 2004-2) Topics SQL in application code Embedded SQL JDBC SQLJ Stored procedures Chapter 6 CMPT 354 2004-2 2 SQL in Application Code SQL commands can
More informationUNIT III - JDBC Two Marks
UNIT III - JDBC Two Marks 1.What is JDBC? JDBC stands for Java Database Connectivity, which is a standard Java API for databaseindependent connectivity between the Java programming language and a wide
More informationSNS COLLEGE OF ENGINEERING, Coimbatore
SNS COLLEGE OF ENGINEERING, Coimbatore 641 107 Accredited by NAAC UGC with A Grade Approved by AICTE and Affiliated to Anna University, Chennai IT6503 WEB PROGRAMMING UNIT 03 JDBC JDBC Overview JDBC implementation
More informationVanillaCore Walkthrough Part 1. Introduction to Database Systems DataLab CS, NTHU
VanillaCore Walkthrough Part 1 Introduction to Database Systems DataLab CS, NTHU 1 The Architecture VanillaDB JDBC/SP Interface (at Client Side) Remote.JDBC (Client/Server) Query Interface Remote.SP (Client/Server)
More information(C) Global Journal of Engineering Science and Research Management
ANDROID BASED SECURED PHOTO IDENTIFICATION SYSTEM USING DIGITAL WATERMARKING Prof.Abhijeet A.Chincholkar *1, Ms.Najuka B.Todekar 2, Ms.Sunita V.Ghai 3 *1 M.E. Digital Electronics, JCOET Yavatmal, India.
More informationDatabase Assignment 2
Database Assignment 2 Java Database Connection using the JDBC API March 13, 2008 1 Objectives Create and run a JDBC program using the client driver and Network Server. This assignment demonstrates the
More informationSpecial Topics: Programming Languages
Lecture #23 0 V22.0490.001 Special Topics: Programming Languages B. Mishra New York University. Lecture # 23 Lecture #23 1 Slide 1 Java: History Spring 1990 April 1991: Naughton, Gosling and Sheridan (
More informationDiscuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity
Objectives Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity Setting Up JDBC Before you can begin to utilize JDBC, you must
More informationSelected Questions from by Nageshwara Rao
Selected Questions from http://way2java.com by Nageshwara Rao Swaminathan J Amrita University swaminathanj@am.amrita.edu November 24, 2016 Swaminathan J (Amrita University) way2java.com (Nageshwara Rao)
More informationSQL in Programming Languages Read chapter 5 of Atzeni et al. BD: Modelli e Linguaggi di Interrogazione and section 8.
SQL in Programming Languages Read chapter 5 of Atzeni et al. BD: Modelli e Linguaggi di Interrogazione and section 8.4 of Garcia-Molina Slides derived from those by Jeffrey D. Ullman SQL and Programming
More informationA201 Object Oriented Programming with Visual Basic.Net
A201 Object Oriented Programming with Visual Basic.Net By: Dr. Hossein Computer Science and Informatics IU South Bend 1 What do we need to learn in order to write computer programs? Fundamental programming
More informationUpdate Table Schema Sql Server 2008 Add Column Default Value
Update Table Schema Sql Server 2008 Add Column Default Value In SQL Server 2008, I am adding a non-nullable column to an existing table, and INTO MyTable DEFAULT VALUES GO 1000 ALTER TABLE MyTable ADD.
More informationCS 261 Fall C Introduction. Variables, Memory Model, Pointers, and Debugging. Mike Lam, Professor
CS 261 Fall 2017 Mike Lam, Professor C Introduction Variables, Memory Model, Pointers, and Debugging The C Language Systems language originally developed for Unix Imperative, compiled language with static
More informationCrystal Reports. Overview. Contents. How to report off a Teradata Database
Crystal Reports How to report off a Teradata Database Overview What is Teradata? NCR Teradata is a database and data warehouse software developer. This whitepaper will give you some basic information on
More informationIntroduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview
Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple
More information13. Databases on the Web
13. Databases on the Web Requirements for Web-DBMS Integration The ability to access valuable corporate data in a secure manner Support for session and application-based authentication The ability to interface
More informationPSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming
PSD1B Advance Java Programming Unit : I-V PSD1B- Advance Java Programming 1 UNIT I - SYLLABUS Servlets Client Vs Server Types of Servlets Life Cycle of Servlets Architecture Session Tracking Cookies JDBC
More informationJDBC Drivers Type. JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server.
JDBC Drivers Type 1 What is JDBC Driver? JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server. For example, using JDBC drivers enable you to open database
More informationSQL Optimizer User s Guide
SQL Optimizer User s Guide MetaCube ROLAP Option for Informix Dynamic Server Microsoft Windows Environments Version 4.1 December 1998 Part No. 000-5224 Published by INFORMIX Press Informix Corporation
More informationOverview of the Data Sources Available in Seagate Analysis 7 (Standalone)
Overview of the Data Sources Available in 7 (Standalone) Overview This document provides an overview of the various data sources available to the user. In standalone, these data sources are listed under
More informationIntroduction to MySQL. Database Systems
Introduction to MySQL Database Systems 1 Agenda Bureaucracy Database architecture overview Buzzwords SSH Tunneling Intro to MySQL Comments on homework 2 Homework #1 Submission date is on the website..
More informationOutline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform
Outline Introduction to Java Introduction Java 2 Platform CS 3300 Object-Oriented Concepts Introduction to Java 2 What Is Java? History Characteristics of Java History James Gosling at Sun Microsystems
More informationIBM i Version 7.3. Database Administration IBM
IBM i Version 7.3 Database Administration IBM IBM i Version 7.3 Database Administration IBM Note Before using this information and the product it supports, read the information in Notices on page 45.
More informationWES-CS GROUP MEETING #9
WES-CS GROUP MEETING #9 Exercise 1: Practice Multiple-Choice Questions 1. What is output when the following code executes? String S1 = new String("hello"); String S2 = S1 +! ; S1 = S1 + S1; System.out.println(S1);
More informationLecture 27 10/30/15. CMPSC431W: Database Management Systems. Instructor: Yu- San Lin
CMPSC431W: Database Management Systems Lecture 27 10/30/15 Instructor: Yu- San Lin yusan@psu.edu Course Website: hcp://www.cse.psu.edu/~yul189/cmpsc431w Slides based on McGraw- Hill & Dr. Wang- Chien Lee
More informationServer and Threads. Shan Hung Wu & DataLab CS, NTHU
Server and Threads Shan Hung Wu & DataLab CS, NTHU Where are we? VanillaCore JDBC Interface (at Client Side) Remote.JDBC (Client/Server) Server Query Interface Tx Planner Parse Storage Interface Algebra
More informationModel Question Paper. Credits: 4 Marks: 140
Model Question Paper Subject Code: BT0075 Subject Name: RDBMS and MySQL Credits: 4 Marks: 140 Part A (One mark questions) 1. MySQL Server works in A. client/server B. specification gap embedded systems
More informationThe NoPlsql and Thick Database Paradigms
The NoPlsql and Thick Database Paradigms Part 2: Adopting ThickDB Toon Koppelaars Real-World Performance Oracle Server Technologies Bryn Llewellyn Distinguished Product Manager Oracle Server Technologies
More informationA web application serving queries on renewable energy sources and energy management topics database, built on JSP technology
International Workshop on Energy Performance and Environmental 1 A web application serving queries on renewable energy sources and energy management topics database, built on JSP technology P.N. Christias
More informationIBM QMF for Windows for IBM iseries, V7.2 Business Intelligence Starts Here!
Software Announcement February 26, 2002 IBM QMF for Windows for IBM iseries, V7.2 Business Intelligence Starts Here! Overview QMF for Windows for iseries, V7.2, is a multipurpose enterprise query environment
More informationDatabase Application Development
CS 461: Database Systems Database Application Development supplementary material: Database Management Systems Sec. 6.2, 6.3 DBUtils.java, Student.java, Registrar.java, RegistrarServlet.java, PgRegistrar.sql
More informationDatabase connectivity (I) ()
Agenda Lecture (06) Database connectivity (I) () Dr. Ahmed ElShafee Introduction Relational Database SQL Database Programming JDBC Overview Connecting DB 1 Dr. Ahmed ElShafee, ACU Spring 2011, Distributed
More informationExtract API: Build sophisticated data models with the Extract API
Welcome # T C 1 8 Extract API: Build sophisticated data models with the Extract API Justin Craycraft Senior Sales Consultant Tableau / Customer Consulting My Office Photo Used with permission Agenda 1)
More informationPostgreSQL Database and C++ Interface (and Midterm Topics) ECE 650 Systems Programming & Engineering Duke University, Spring 2018
PostgreSQL Database and C++ Interface (and Midterm Topics) ECE 650 Systems Programming & Engineering Duke University, Spring 2018 PostgreSQL Also called Postgres Open source relational database system
More informationLecture 1: Overview of Java
Lecture 1: Overview of Java What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++ Designed for easy Web/Internet applications Widespread
More informationObject-Oriented Databases db4o: Part 2
Object-Oriented Databases db4o: Part 2 Configuration and Tuning Distribution and Replication Callbacks and Translators 1 Summary: db4o Part 1 Managing databases with an object container Retrieving objects
More informationJava language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS
Java language Part 1. Java fundamentals Yevhen Berkunskyi, NUoS eugeny.berkunsky@gmail.com http://www.berkut.mk.ua What Java is? Programming language Platform: Hardware Software OS: Windows, Linux, Solaris,
More informationAccessing DB2 Everyplace using J2ME devices, part 1
Accessing DB2 Everyplace using J2ME devices, part 1 Skill Level: Intermediate Naveen Balani (naveenbalani@rediffmail.com) Developer 08 Apr 2004 This two-part tutorial assists developers in developing DB2
More informationRelease Notes Scribe Insight
Release Notes Scribe Insight Version: 7.6.2 Release Date: August 19, 2013 This release of Scribe Insight includes the following version updates: Scribe Insight Version 7.6.2 Scribe Adapter for Microsoft
More informationJDBC [Java DataBase Connectivity]
JDBC [Java DataBase Connectivity] Introduction Almost all the web applications need to work with the data stored in the databases. JDBC is Java specification that allows the Java programs to access the
More informationCS317 File and Database Systems
CS317 File and Database Systems http://dilbert.com/strips/comic/2010-01-18/ Lecture 14 Network Client Access to DBMS November 15, 2017 Sam Siewert Reminders PLEASE FILL OUT COURSE EVALUATIONS ON CANVAS
More information9. Introduction to MS Access
9. Introduction to MS Access 9.1 What is MS Access? Essentially, MS Access is a database management system (DBMS). Like other products in this category, Access: o Stores and retrieves data, o Presents
More informationEmbedded SQL. csc343, Introduction to Databases Renée J. Miller and Fatemeh Nargesian and Sina Meraji Winter 2018
Embedded SQL csc343, Introduction to Databases Renée J. Miller and Fatemeh Nargesian and Sina Meraji Winter 2018 Problems with using interactive SQL Standard SQL is not Turing-complete. E.g., Two profs
More informationShort Summary of DB2 V4 Through V6 Changes
IN THIS CHAPTER DB2 Version 6 Features DB2 Version 5 Features DB2 Version 4 Features Short Summary of DB2 V4 Through V6 Changes This appendix provides short checklists of features for the most recent versions
More informationIBM. Using UniOLEDB. Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta
C:\Program Files\Adobe\FrameMaker8\UniVerse 10.3\unioledb\OLDBTITL.fm February 4, 2009 3:25 pm Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta IBM Using UniOLEDB UniVerse
More informationIBM Informix DataBlade Module Development Overview
Informix Product Family Informix DataBlade Developers Kit Version 4.20 IBM Informix DataBlade Module Development Overview GC27-5555-00 Informix Product Family Informix DataBlade Developers Kit Version
More informationIntroduction to Java
Introduction to Java Module 1: Getting started, Java Basics 22/01/2010 Prepared by Chris Panayiotou for EPL 233 1 Lab Objectives o Objective: Learn how to write, compile and execute HelloWorld.java Learn
More informationOverview. Database Application Development. SQL in Application Code. SQL in Application Code (cont.)
Overview Database Application Development Chapter 6 Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures Database Management Systems 3ed
More informationDatabase Application Development
Database Application Development Chapter 6 Database Management Systems 3ed 1 Overview Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures
More informationDatabase Application Development
Database Application Development Chapter 6 Database Management Systems 3ed 1 Overview Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures
More informationAccessing a database from Java. Using JDBC
Accessing a database from Java Using JDBC We ve got a fuzzbox and we re gonna use it Now we know a little about databases and SQL. So how do we access a database from a Java application? There is an API
More informationC Introduction. Comparison w/ Java, Memory Model, and Pointers
CS 261 Fall 2018 Mike Lam, Professor C Introduction Comparison w/ Java, Memory Model, and Pointers Please go to socrative.com on your phone or laptop, choose student login and join room LAMJMU The C Language
More informationIBM EXAM - C DB Fundamentals. Buy Full Product.
IBM EXAM - C2090-610 DB2 10.1 Fundamentals Buy Full Product http://www.examskey.com/c2090-610.html Examskey IBM C2090-610 exam demo product is here for you to test the quality of the product. This IBM
More informationPI Developer Technologies Roadmap Presented by: Frank Garriel, David Hearn, & Bodo Bachmann
PI Developer Technologies Roadmap Presented by: Frank Garriel, David Hearn, & Bodo Bachmann 1 PI Developer Technologies PI OPC Servers PI Web API Presented by: Frank Garriel 3 Performance & Scalability
More informationCrystal Reports Overview. Contents. Supported Platforms. This document lists specific platforms and configurations for Crystal Reports 2008.
Revision Date: October 29, 2007 Crystal Reports 2008 Overview Contents This document lists specific platforms and configurations for Crystal Reports 2008. INTRODUCTION... 2 PRODUCTS... 2 LANGUAGES... 2
More informationDataEase Opening up DataEase to the World
- 1 - DataEase 6.5 - Opening up DataEase to the World Introduction The rapid adoption of new information technologies and their integration with existing systems poses new challenges to DBMS developers
More informationConfiguring Vulnerability Assessment Devices
CHAPTER 10 Revised: November 10, 2007 Vulnerability assessment (VA) devices provide MARS with valuable information about many of the possible targets of attacks and threats. They provide information useful
More informationBuilding a Corporate Warehouse Management and Deployment System
Building a Corporate Warehouse Management and Deployment System Chris Lane, Lane Systems Group Ltd., Whitehorse, Yukon (CANADA) ABSTRACT Managing data warehouses in a complex environment has its challenges.
More informationChapter 13 Introduction to SQL Programming Techniques
Chapter 13 Introduction to SQL Programming Techniques Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Outline Database Programming: Techniques and Issues Embedded
More informationCSC Java Programming, Fall Java Data Types and Control Constructs
CSC 243 - Java Programming, Fall 2016 Java Data Types and Control Constructs Java Types In general, a type is collection of possible values Main categories of Java types: Primitive/built-in Object/Reference
More informationGUARDTOOL IMPORTER ADDENDUM
EPI Suite 6.x GUARDTOOL IMPORTER ADDENDUM 1. Importing text files (*.txt,.csv) and Excel files (.xls) with the Jet Engine If the files that you want to import are in the list of the Jet Engine drivers
More informationHighlighting Intrinsyc s Technologies: Intrinsyc J-Integra Bi-Directional Pure Java-COM Bridge
WhitePaper Highlighting Intrinsyc s Technologies: Intrinsyc J-Integra Bi-Directional Pure Java-COM Bridge Intrinsyc Software, Inc. 700 West Pender Street, 10 th Floor Vancouver, British Columbia Canada
More information