SlideShare a Scribd company logo
Open Source Data Services for
       Strategic SOA
          utilising
 WSO2 Data Services Server
              Sumedha Rubasinghe
  2009 Air Force Information Technology Conference
                 Montgomery, Atlanta
Agenda

    SOA & Enterprise Data

    Need for SOA Data Services

    Introduction

    Features

    Architecture

    Use Cases

    Getting started & help
Open Source Data Services for Strategic SOA  utilising WSO2 Data Services Server
Open Source Data Services for Strategic SOA  utilising WSO2 Data Services Server
Open Source Data Services for Strategic SOA  utilising WSO2 Data Services Server
Introducing Mattson ...
                   Hi..
                   Mattson here..
                   I am an architect
My manager wants
to see salary increments
done in HRM system to be
reflected in Payroll....

These systems do not
support a programmable
interface..
Oh..Payroll system is using
an Informix database while
HRM writes to a MSSQL
database...
Another scenario

    Build a Travel Expense Management System
    
        HRM – MSSQL
    
        Training Mgt – Spreadsheet
    
        Payroll - Informix
Ways of solving

    Method 1
        – Create a new data store
        – Pull relevant data from HRM, Payroll & Training Mgt
          Systems
        – Store it to match new application’s requirements
        – Now comes another application…
        – More overhead
        – Redundant data
      • Inconsistency
      • Update anomalies
Ways of solving (contd..)

    Method 2
       – Connect to 3 data sources & extract data
       – Three different access mechanisms
Data access mechanisms

    Direct access to databases (JDBC,ODBC,..etc)

    Use of O/R mapping frameworks (Hibernate,
    Ibatis,...)

    Enterprise Java Beans (EJBs)

    CORBA

    Custom APIs
Positioning of data access code..

    Application developers like to deal with
    business process related logic

    Changes in data source configuration
    
        Should be transparent to application logic
    
        Should have minimal (if not any) effect on business
        logic
Method 2
Concerns
  − Data access code VS business logic implementation
  − Difficult to reuse
  − Difficult to maintain
  − Difficult to test
  − Error prone
Ways of solving... (contd)
Method 3
  − Single layer to fulfill enterprise data access
    requirements (Data Services)
     Governed by,
        − More and more data being generated
        − Growing demand for consolidated, consistent
          information
        − Mashups
        − Interoperability & standards
Data Services?
Tell me about it...
Data Service ?
Well defined request/response format
Encapsulates data oriented logic
Loose coupling (application & data store)
Data store specific configurations
Management & QoS features
WSO2 Data Services Server
Open Source Data Services for Strategic SOA  utilising WSO2 Data Services Server
Simple Example

    Expose Employee Contact data in a MySQL
    database table as a data service

    Table Structure
GUI Wizard
Data Service Configuration
<data name="ContactInfoService">
   <config>
      <property name="org.wso2.ws.dataservice.driver">com.mysql.jdbc.Driver</property>
      <property 
name="org.wso2.ws.dataservice.protocol">jdbc:mysql://localhost:3306/dataservice_sample</property>
      <property name="org.wso2.ws.dataservice.user">dsuser</property>
      <property name="org.wso2.ws.dataservice.password">user123</property>
      <property name="org.wso2.ws.dataservice.minpoolsize">1</property>
      <property name="org.wso2.ws.dataservice.maxpoolsize">5</property>
   </config>

   <query id="contactInfoQuery">
      <sql>select firstName,lastName,extension,email from employees where lastName = ?</sql>
      <param name="name" sqlType="STRING" />
      <result element="Employees" rowName="ContactInfo">
         <attribute name="LastName" column="lastName" />
         <element name="FirstName" column="firstName" />
         <element name="Extension" column="extension" />
         <element name="Email" column="email" />
      </result>
   </query>

   <operation name="getContactInformation">
      <call­query href="contactInfoQuery"        >
         <with­param name="name" query­param="name" />
      </call­query>
   </operation>
</data>
Data Services Description Language

    In-house developed language for writing data
    services

    Maps service requests to your SOA to queries
    operating on your database objects (tables,
    views, procedures & functions)

    Maps query results to XML responses

    Available online @
    http://wso2.org/wiki/display/wsf/Data+Servic
    es+and+Resources
WSDL for the service
http://<IP>:<PORT>/services/ContactInfoService?wsdl
How to access a data service?
Multiple Data Source support
Secure Channel
Transformation
Federation
Caching
High availability
Throttling
Architecture

    Challenges
    
        RDBMS – specific or generic JDBC drivers
    
        Directories – specific drivers, API
    
        Flat files, Spread sheets – different APIs
    
        Different data types
    
        Access control mechanisms
Architecture

    Data Services are SOA equivalent of the Data
    Access Object(DAO) Pattern

    DS deal with different data sources similar to
    what DAO does

    But, DS operate on a different layer
How to access a data service?
Accessing a data service – Java Client
Accessing a data service – REST
http://198.18.191.140:9763/services/DataServic
eSample1/employeesByNumber/1001
Accessing a data service – Try It
Monitoring
 – Monitor System statistics
 – Running logs
 – Message Tracing
 – Dynamically configurable Logger
 – Exposes statistics via JMX
 – Dashboard – Google Gadgets
Use Case 1

    A mashup/ javascript/ Google Gadget wants to
    access data in a backend database
Use Case 2

    Re-using existing Master Data
Use Case 2
Use Case 3

    Master Data Update
Use Case 3
Use Case 4

    Content filtering based on logged in user
Use Case 4
Use Case 5

    Service enabling enterprise data
Open Source Data Services for Strategic SOA  utilising WSO2 Data Services Server
Use Case 6

    Integrating with an external system
Use Case 6
Use Case 7
WSO2 Product Platform
That's lot of information...
Now I would like to try these out
myself. How do I get started?
How to get started?

    Download binary distribution from
    – http://wso2.org/projects/data-services-server/java

    Latest is v2.0

    Unzip
• Run bin/wso2server.sh (on Unix) or
  bin/wso2server.bat (on Windows)
• Management console
    – https://localhost:9443/carbon
    – admin/admin
Help.. I messed it up...
How to get help?

    Online forum(http://wso2.org/forum/404)

    Mailing list (ds-java-user@wso2.org)

    Active community of external users

    Ample free documentation on wso2.org

    If needed, we provided commercial support on
        – Getting started
        – Deployment
        – Custom development
        – Production support
I would like to have some
URLs for reference.
Useful references

    WSO2 Oxygen Tank for Web Service Developers
    – http://wso2.org

    Data Services HOWTOs Page
    – http://wso2.org/library/3183

    WSO2 Data Services project page
    – http://wso2.org/projects/data-services-server/java
Summary

•
 Introduced WSO2 Data Services
•
 Features
•
 Use cases
•
 Getting started
Thank you
    sumedha@wso2.com
(on behalf of WSO2 DS team)

More Related Content

PDF
Effective Multi-stream Joining in Apache Samza Framework
PDF
PPTX
Cloud Computing for Small & Medium Businesses
PPT
Database Concepts 101
PPTX
Quantopix analytics system (qas)
DOCX
Database
PDF
CBSE XII Database Concepts And MySQL Presentation
Effective Multi-stream Joining in Apache Samza Framework
Cloud Computing for Small & Medium Businesses
Database Concepts 101
Quantopix analytics system (qas)
Database
CBSE XII Database Concepts And MySQL Presentation

What's hot (18)

PPT
Database concepts and Archeticture Ch2 with in class Activities
PPTX
Web Database
PDF
MS Access
PPT
Dbms presentaion
PDF
An introduction to data virtualization in business intelligence
PDF
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
PDF
Rdbms Practical file diploma
PDF
Tutorial On Database Management System
PPTX
Data base management system
PPTX
Data virtualization, Data Federation & IaaS with Jboss Teiid
PDF
Msbi course content
PPTX
DATABASE FUNCTIONS
DOC
DataStage_Whitepaper
PDF
Sql Server Reporting Services - tips and tricks
PDF
Relational Database Management System
PPTX
Database Management System, Lecture-1
PDF
WEB PROGRAMMING USING ASP.NET
DOCX
Database concepts and Archeticture Ch2 with in class Activities
Web Database
MS Access
Dbms presentaion
An introduction to data virtualization in business intelligence
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
Rdbms Practical file diploma
Tutorial On Database Management System
Data base management system
Data virtualization, Data Federation & IaaS with Jboss Teiid
Msbi course content
DATABASE FUNCTIONS
DataStage_Whitepaper
Sql Server Reporting Services - tips and tricks
Relational Database Management System
Database Management System, Lecture-1
WEB PROGRAMMING USING ASP.NET
Ad

Viewers also liked (15)

DOC
DominicMcHalecv171
PPTX
February Ops Meeting
PDF
Newsletter 4th November,2014
PDF
Newsletter 24th October,2014
DOCX
SUZANNE M IVEY
PDF
PGC Newsletter 27th October,2014
PDF
Truyện Dragon ball tập 33
PPTX
Yoga y Pranic Healing
PPTX
Componentes auxiliares
PPTX
Competencias
PPTX
Grameen phone project
PPTX
Transitional devices at pangatnig
PPTX
Soluciones a mis problemas de aprendizaje
PPTX
Ejercicios consumo inversión,gasto de gobierno, demanda agregada
PDF
Modelo insumo-producto
DominicMcHalecv171
February Ops Meeting
Newsletter 4th November,2014
Newsletter 24th October,2014
SUZANNE M IVEY
PGC Newsletter 27th October,2014
Truyện Dragon ball tập 33
Yoga y Pranic Healing
Componentes auxiliares
Competencias
Grameen phone project
Transitional devices at pangatnig
Soluciones a mis problemas de aprendizaje
Ejercicios consumo inversión,gasto de gobierno, demanda agregada
Modelo insumo-producto
Ad

Similar to Open Source Data Services for Strategic SOA utilising WSO2 Data Services Server (20)

PDF
Adding Data into your SOA with WSO2 WSAS
PDF
Enterprise Data Services for Strategic SOA
ODP
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
PPTX
Exploring Data Integration Capabilities of the WSO2 Platform
PDF
WSO2 Intro Webinar - The WSO2 Data Services - Harnessing Disparate Enterprise...
PPT
Maneuver Your Enterprise Data With WSO2 Data Service Server
PDF
WSO2 Data Services Server - Product Overview
PDF
Data Services: Getting Your Data Into APIs
PDF
2009.10.22 S308460 Cloud Data Services
PDF
WSO2Con US 2013 - Store and Deliver Data to the Mobile App Edge: WSO2 Storage...
PDF
Mow2012 data services
PDF
Dealing with Common Data Requirements in Your Enterprise
PDF
WSO2 ESB and SOA
PPS
Sreerag web services - universal data access
PDF
Developer s Guide to Microsoft Enterprise Library Visual Basic Edition Patter...
PDF
Developer s Guide to Microsoft Enterprise Library C Edition Alex Homer
PPT
Tally9erp
PDF
Model Driven Architecture (MDA): Motivations, Status & Future
PDF
Radovan Janecek R E S Tor S O A Pv1
DOC
Sap bodi bods online training course
Adding Data into your SOA with WSO2 WSAS
Enterprise Data Services for Strategic SOA
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Exploring Data Integration Capabilities of the WSO2 Platform
WSO2 Intro Webinar - The WSO2 Data Services - Harnessing Disparate Enterprise...
Maneuver Your Enterprise Data With WSO2 Data Service Server
WSO2 Data Services Server - Product Overview
Data Services: Getting Your Data Into APIs
2009.10.22 S308460 Cloud Data Services
WSO2Con US 2013 - Store and Deliver Data to the Mobile App Edge: WSO2 Storage...
Mow2012 data services
Dealing with Common Data Requirements in Your Enterprise
WSO2 ESB and SOA
Sreerag web services - universal data access
Developer s Guide to Microsoft Enterprise Library Visual Basic Edition Patter...
Developer s Guide to Microsoft Enterprise Library C Edition Alex Homer
Tally9erp
Model Driven Architecture (MDA): Motivations, Status & Future
Radovan Janecek R E S Tor S O A Pv1
Sap bodi bods online training course

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Spectroscopy.pptx food analysis technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
sap open course for s4hana steps from ECC to s4
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectroscopy.pptx food analysis technology
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Mobile App Security Testing_ A Comprehensive Guide.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
20250228 LYD VKU AI Blended-Learning.pptx

Open Source Data Services for Strategic SOA utilising WSO2 Data Services Server