Pocket PowerBuilder And Database Applications. Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc.

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
OneBridge Mobile Data Suite Product Positioning. Target Plays IT-driven enterprise mobility initiatives Extensive support for integration into existing.
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
Handheld Contact Wireless syncing ACT! Blackberry and Windows Mobile 5/6.
Building Mobile Apps in the Cloud – Comparing Approaches.
Chapters 14 & 15 Internet Databases. E-Commerce  Bringing new products, services, or ideas to market, supporting and enhancing business operations 
Bringing Handheld, PDA’s, and Smart Phone to the Enterprise Martin Graf Group Product Manager Oracle Corporation Session id:
Virtual SharePoint Summit 2010 hosted by Rackspace Overcoming Collaboration Challenges with SharePoint Chris Samson Leslie Sistla Virtual SharePoint Summit.
Pocket PowerBuilder.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
“Turn you Smart phone into Business phone “
OPC Systems.NET. Open Automation Software Based in Lakewood, Colorado USA Founded in 1994 OPC Systems.NET released in 2004 Over 100k+ server licenses.
OPC WPFHMI.NET.
Chapter 9: The Client/Server Database Environment
BUSINESS DRIVEN TECHNOLOGY
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
OPC Alarm.NET.
Lecture The Client/Server Database Environment
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Query Processing in Mobile Databases
SNEAK PEEK OF APPEON MOBILE JANUARY 25, – August 14, 2015 MOBILE MARKET TRENDS Some recent figures about the worldwide Market: 1 Billion Smartphone.
The Client/Server Database Environment
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Module 16: Software Maintenance Using Windows Server Update Services.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
© 2009 IBM Corporation 1 RTC ClearQuest Importer and Synchronizer Lorelei Ngooi – RTC ClearQuest Synchronizer Lead.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
BMC Software confidential. BMC Performance Manager Will Brown.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
OPC Database.NET. OPC Systems.NET What is OPC Systems.NET? OPC Systems.NET is a suite of.NET and HTML5 products for SCADA, HMI, Data Historian, and live.
Technology Overview. Agenda What’s New and Better in Windows Server 2003? Why Upgrade to Windows Server 2003 ?  From Windows NT 4.0  From Windows 2000.
Reducing TCO with Lifecycle Management
CS 8628 – n-tier Client-ServerArchitectures, Dr. Guimaraes BooKeeper Sridevi Srinivasan CS 8628, Summer 2003 Replication in Pocket PC Environment using.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Fundamentals of Database Chapter 7 Database Technologies.
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Computer Emergency Notification System (CENS)
EM416 Choosing the Correct Data Movement Technology Chris Kleisath Director of Engineering iAnywhere Solutions
1 EM402 MobiLink Tips and Techniques David Fishburn Principal Consultant iAnywhere Solutions
EM 404 New MobiLink Technology Jim Graham Director of Engineering iAnywhere Solutions
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Enabling Enterprise Applications Marcus Perryman Microsoft
EM401 Overview of MobiLink Synchronization Jim Graham Director of Engineering iAnywhere Solutions
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
4BP1 Electronic & Computer Engineering Paul Gildea th Year Final Project Presentation.
Using MS Excel to validate & load your data into Oracle EBS.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Welcome. Welcome to this TechNet Event URL for on-line feedback is in your reminder No Planned Fire Drills Please turn your Mobile Phones off To.
IAnywhere Solutions Mobile Computing on Linux Eyun Lindberg
ViaSQL Technical Overview. Viaserv, Inc. 2 ViaSQL Support for S/390 n Originally a VSE product n OS/390 version released in 1999 n Identical features.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Netscape Application Server
The Client/Server Database Environment
The Client/Server Database Environment
Chapter 9: The Client/Server Database Environment
PHP / MySQL Introduction
Dev Test on Windows Azure Solution in a Box
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
McGraw-Hill Technology Education
Presentation transcript:

Pocket PowerBuilder And Database Applications

Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc.

Agenda Introduction Unwired Enterprise MobiLink Developing An Application Demonstrations

Introduction Over the last 11 years we have seen PowerBuilder grow and develop into the tool it is today. Originally for Client Server, then incorporating Component Development & RAD Thin Client Development. Also over the last 11 years we have seen increasing developments in DataWindow technology that has seen it appear (or not) as a non-visual DataStore, Java DataWindow and HTML DataWindow DataWindows EVERYWHERE? Well nearly!

Introduction "Don't think big…Think Small!!" Pocket PowerBuilder is now coming to aid corporate development of Pocket PC applications, brining all the benefits RAD 4 GL and even the DataWindow technology. So we really can now say, DataWindows EVERYWHERE!!!!

Unwired Enterprise Liquidity + Mobility = Unwired Enterprise Liquidity - Free flowing information with economic value Mobility - Freedom to work anytime, anywhere

Enterprise Mobile Applications Key areas for a mobile application Usability (including intuitiveness, efficiency, ease of use & reliability) Innovation (including New Functionality) – maybe from using mobile technologies BPI (including extending existing systems) – it should fit well into existing business processes ROI – As always a return on investment is a major factor

Enterprise Mobile Applications Potential Systems for Mobile Applications Data Collection Inventory Management Customer Relationship Management Event Tracking Sales Force Automation Healthcare Field Force Automation Sales Force Automation Mobile Healthcare

Mobile Smart Client –Application where client side business logic is executed on device –Persistent data storage on the device –Application can be executed at any time, even without a wireless connection –Integration to the enterprise is typically provided via synchronization –Client application communicates data to the back end via a synchronization server

Different Functionality Synchronization Pocket PowerBuilder also surpasses PowerBuilder with the introduction of a MobiLink wizard Generates PowerScript code (NVO’s) & Windows for within your application, to interact with a MobiLink Server.

Different Functionality Adaptive Server Anywhere mobile database –Uses full data storage capabilities of Adaptive Server Anywhere on Windows CE client –Database access via ODBC MobiLink data synchronization –MobiLink bi-directional data synchronization used to integrate with other enterprise databases (Sybase ASE and ASA, Oracle, MS SQL Server, IBM DB2) –New component to manage synchronization properties & maintenance of synchronization

Publication A Database Object in the Remote Database data to be synchronized Tables can be synchronized –Entirely –Subset of Columns –Subset of Rows –Subset of Columns & Rows Define a Publication Define a Synchronization User Define a Synchronization Subscription

Remote Database Located on the mobile device Can be built with –Sybase ASA –UltraLite Must contain at least one Publication to define which tables will be synchronized Must contain at least one Synchronization Subscription to link a Synchronization user with a set of Publications Typically a subset of a consolidated database Data specific or that mobile user

Consolidated Database Central / Master DataStore with which the remote synchronizes with Can be built with –Sybase ASA –Sybase ASE –Oracle –MS SQL Server –IBM DB2 Typically an existing Enterprise Database

Consolidated Database MobiLink uses system tables in the Consolidated database to store –Synchronization scripts –Synchronization progress & status information –Synchronization User information Automatically created in ASA Database MobiLink Setup scripts for other Consolidated Databases MobiLink uses ODBC to connect to the Consolidated DB

Synchronization Scripts During synchronization MobiLink progresses through a series of events Each event can be associated with once synchronization script Synchronization scripts –Direct the data flow during the process –Allow tasks to be performed at various points Written in the native SQL of the Consolidated Database Can use versioning –Remote must specify the version of the scripts to use

MobiLink Server Connects to the Consolidated Database Waits for Synchronization requests from Remote DB Processes data uploaded from the Remote DB Selects data from the Consolidated Database for download to the remote

dbmlsync Synchronization is initiated by a client application via the dbmlsync utility from ASA Remote databases –TCP/IP, SSL –HTTP/HTTPS –ActiveSync Read Database engine transaction log Builds an upstream with the a summary of the changes to the specific publication since the last synchronization Applies the downstream from the MobiLink server to the Remote Database

MobiLink – ASA Synchronization Consolidated DB MobiLink Remote ASA Database ODBC dbmlsync 1. Upload 2. Download 3. Ack Download 1. Upload  ASA or UltraLite keep track of all changes since previous synchronization  All changes are sent in a single upload stream  MobiLink applies changes in a single transaction 2. Download  Scripts in the consolidated database determine changes that need to be downloaded  All changes are sent in a single download stream 3. Acknowledge download  Optional

MobiLink – ASA Synchronization Flexible and robust bi-directional synchronization –Support Sybase, Oracle, IBM DB2, Microsoft SQL Server –Synchronization scripts can be written in SQL, Java or any.NET language Secure –Built-in authentication –128-bit encryption of communication stream Support for sub-setting and partitioning of data Built-in conflict detection and resolution Scalable to thousands of remote users Robust error handling

MobiLink - Quick Start Files located in \Samples\MobiLink\Autoscripting Create and setup consolidated and remote databases –Use Sybase database creation wizard –Create ODBC datasources –Populate databases with ISQL –Run setup script appropriate for consolidated DB Identify tables and columns for synchronization –Add publications, ML Users & subscriptions on Remote DB –Add tables & users for synchronizationn on Consolidated Write scripts to upload and download data –Use –za switch on the MobilLink Server –and ‘SendColumnNames=on’ on the MobiLink client –to automatically generate scripts for you You are now synchronizing!

Developing an Application When developing a Mobile Application always work against the Remote Database Best to deploy an empty Remote Database & fill with data on the first Sync. Use PPB to generate Synchronization logic in NVO’s

Developing an Application DSN on mobile device specifies which ASA Database the app uses –[ODBC] –uid=dba –pwd=sql –enginename=Picture_remote –databasename=Picture_remote –databasefile=\Picture_remote.db –start=\Program Files\Sybase\ASA\dbsrv8.exe –q –driver=dbodbc8.dll

PPB Application Architecture Consolidated Database (Sybase/Oracle/ Microsoft/IBM) MobiLink Device ASA ML Enterprise TCP/IP HTTP HTTPS ActiveSync (wired or wireless) Sample Application) Pocket PowerBuilder Virtual Machine SOAP (Web Services) App Server

Demonstrations Basic Pocket PowerBuilder App –Create a Consolidated DB –Create the Remote DB –Create publications, subsrciptions & users on the remote –Create users & tables for sync on the consolidated –Deploy remote database & dsn –Start Mobilink –Use the wizard to generate an application –Build a DataWindow Object –Place objects on the window –Code PowerScript –Deploy –Run

Conclusions Pocket PowerBuilder used along with ASA for CE and MobiLink can create very powerful Smart Client Applications Data can be synchronized back to the Enterprise Database

Pocket PowerBuilder Code Examples Pocket PowerBuilder code examples can be found on the CodeXchange,

Questions and Answers Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc. Check out PBDJ for Pocket PowerBuilder articles