Apache Tuscany RDB DAS

Similar documents
Open Source SCA The Apache Tuscany Project

SOA and ESB. Mark Jeynes IBM Software, Asia Pacific

Intelligent Query and Reporting against DB2. Jens Dahl Mikkelsen SAS Institute A/S

Microsoft SQL Server Features that can be used with the IBM i

Version Control Using Subversion. 12 May 2013 OSU CSE 1

Customer Cloud Architecture for Mobile.

Why NoSQL? Your database options in the new non- relational world IBM Cloudant 1

IBM DB2 XML support. How to Configure the IBM DB2 Support in oxygen

A basic create statement for a simple student table would look like the following.

Understanding Infrastructure as Code. By Michael Wittig and Andreas Wittig

Relational Database Basics Review

ITG Software Engineering

Preparing a SQL Server for EmpowerID installation

How to Configure the Workflow Service and Design the Workflow Process Templates

How to Setup SQL Server Replication

Pete Helgren Ruby On Rails on i

How to Improve Database Connectivity With the Data Tools Platform. John Graham (Sybase Data Tooling) Brian Payton (IBM Information Management)

Equinox Framework: A Happier OSGi R6 Implementation

Creating an Open Catalog Extension (OCE)

MongoDB Developer and Administrator Certification Course Agenda

>

CSI 2132 Lab 3. Outline 09/02/2012. More on SQL. Destroying and Altering Relations. Exercise: DROP TABLE ALTER TABLE SELECT

WebSphere Business Monitor

Secure Messaging Server Console... 2

Informix Administration Overview

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

Resources You can find more resources for Sync & Save at our support site:

Data storing and data access

BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2. Feature and Technical Overview

Excel 2003, MS Access 2003, FileMaker Pro 8. Which One Should I Use?

David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation. Chapter Objectives

APEX_ITEM and Dynamic Tabular Forms

Oracle EBS Interface Connector User Guide V1.4

DBX. SQL database extension for Splunk. Siegfried Puchbauer

HareDB HBase Client Web Version USER MANUAL HAREDB TEAM

Getting Started with MongoDB

Consolidate by Migrating Your Databases to Oracle Database 11g. Fred Louis Enterprise Architect

<Insert Picture Here> Move to Oracle Database with Oracle SQL Developer Migrations

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

Practical Example: Building Reports for Bugzilla

Micro Focus. Data Express. SQL Server Module User Guide

JobScheduler Web Services Executing JobScheduler commands

Analytics March 2015 White paper. Why NoSQL? Your database options in the new non-relational world

Multimodal Biometrics R&D Efforts to Exploit Biometric Transaction Management Systems

<Insert Picture Here> Java Application Diagnostic Expert

Using IBM dashdb With IBM Embeddable Reporting Service

MALWAREBYTES PLUGIN DOCUMENTATION

SBOP Repository Explorer. Installation and Configuration Guide v (2014)

SQLITE C/C++ TUTORIAL

SEDONA SALES WORKFLOW UPGRADE

KC Data Integration Web Service Developer Guide

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

<Insert Picture Here> Oracle SQL Developer 3.0: Overview and New Features

How To Import And Re-Import Data From An Infosphere Data Model To An Infosplash Server On A Pc Or Macbook

Lab # 5. Retreiving Data from Multiple Tables. Eng. Alaa O Shama

Data Domain Discovery in Test Data Management

Consuming and Producing Web Services with WST and JST. Christopher M. Judd. President/Consultant Judd Solutions, LLC

Using the Eclipse Data Tools Platform with SQL Anywhere 10. A whitepaper from Sybase ianywhere

IBM Sterling Control Center

Communication Protocol Adapters in Sterling Integrator IBM Corporation

IBM Campaign & Interact Access external customer profile data to augment and enhance segmentation in marketing campaigns

White Paper BMC Remedy Action Request System Security

Microsoft SQL Server Features that can be used with the IBM i

Unified access to all your data points. with Apache MetaModel

White Paper. Fabasoft app.test Load Testing. Fabasoft app.test 2015 Update Rollup 2. Fabasoft app.test Load Testing 1

Oracle Database 10g Express

Automated vulnerability scanning and exploitation

Installation and Administration Guide

IceWarp Server Upgrade

Scalable ecommerce with NoSQL. Dipali Trivedi

Replication Workshop International Conference. Peter Schroer

SQL 2016 and SQL Azure

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

Chapter Replication in SQL Server

Virtuoso Replication and Synchronization Services

<security-service activate-default-principal-to-role-mapping="false" anonymousrole="attributedeprecated"

Video Administration Backup and Restore Procedures

2014 Software Global Client Conference

Macros allow you to integrate existing Excel reports with a new information system

IBM Cloud Manager with OpenStack

PATROL From a Database Administrator s Perspective

Healthstone Monitoring System

SQL Injection. SQL Injection. CSCI 4971 Secure Software Principles. Rensselaer Polytechnic Institute. Spring

Various Load Testing Tools

Database access for illiterate programmers. K.B.Swiatlowski

Object Oriented Databases. OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar

David M. Kroenke and David J. Auer Database Processing 12 th Edition

Integrating Cisco ISE with GO!Enterprise MDM Quick Start

Web Application Security Payloads. Andrés Riancho Director of Web Security OWASP AppSec USA Minneapolis

Installing Active Directory

EMC Documentum Repository Services for Microsoft SharePoint

Amazon Redshift & Amazon DynamoDB Michael Hanisch, Amazon Web Services Erez Hadas-Sonnenschein, clipkit GmbH Witali Stohler, clipkit GmbH

SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

Transcription:

Apache Tuscany RDB DAS Kevin Williams Luciano Resende 1

Agenda IBM Software Group Overview Programming model Some Examples Where to get more 2

Overview IBM Software Group SDO 2.1 Specification - DAS definition: Components that can populate data graphs from data sources and commit changes to datagraphs back to the data source are called Data Access Services Data Access Services (DAS) provides two fundamental capabilities: Results of a data source query returned as a graph of Data Objects Graph modifications reflected back to data source as a series of Creates/Updates/Deletes DAS Client Relational DB Data Access Service Read Update Relational Database 3

Overview IBM Software Group DAS provides a simple and intuitive interface Based on Command pattern Most read interactions consist of acquiring a command and then executing it Most write interactions consist of providing a modified graph (with change summary) to a DAS instance Progressive programming model Simple tasks are simple More complicated tasks are a little less simple 4

Overview simplest read // create a DAS instance with a given database connection DAS das = DAS.FACTORY.createDAS(getConnection()); // create a Command instance using a given SQL query statement Command readcustomer = das.createcommand("select * from CUSTOMER where ID = 1"); // execute the query, returning the root of the data graph representing the result set DataObject root = readcustomer.executequery(); // obtain the first (and only) CUSTOMER data object from the root data object DataObject cust = root.getdataobject("customer[1]"); 5

Overview - write Pushing changes back to the DB can be equally straightforward (continuing previous example) cust.setstring ( LASTNAME, Williams ); das.applychanges(root); Note the lack of configuration (no side file) for these two examples Convention over configuration o SDO properties named X will map to column X on the data source repository o SDO properties named ID will be considered Primary Keys 6

Overview config file Configuration file can be used to organize related sets of commands and other configurable items Previous examples employing a config file DAS das = DAS.FACTORY.createDAS(getConfig( customerconfig.xml"), getconnection()); Command read = das.getcommand( read customer ); DataObject root = read.executequery(); DataObject cust = root.getdataobject( CUSTOMER[1] ); cust.setstring ( LASTNAME, Williams ); das.applychanges(root); SQL has been moved to a side-file file <Config xmlns="http:///org.apache.tuscany.das.rdb/config.xsd"> <Command name="read customer" SQL="select * from CUSTOMER where ID = 10021" kind="select"/> </Config> 7

Programming Model - capabilities DAS supports simple database interactions with a simple API but more complex scenarios are also supported Statically typed (generated) SDO Data Objects Optimistic concurrency control Generated database IDs Stored procedures External transaction participation Simple name mapping (Table/Column -> SDO Type/property) Column-type conversions Paging Future capabilities SCA integration 8

Programming Model - Example 9

Programming Model - Example 10

Programming Model 11

Where to get more Possibly more than you actually want to know about RDB-DAS Home page: o http://incubator.apache.org/tuscany/rdb-das-java.html 12