440 likes | 460 Views
Explore building smart-client applications for efficient data access, mobile SAP integration, and enterprise integration. Learn about challenges, solutions, and benefits of wireless development. Discover how iAnywhere Solutions can streamline your m-Business needs.
E N D
EM424 Building Smart-Client Wireless Applications • Alex Reif • Product Manager • iAnywhere Solutions • areif@sybase.com
Introduction to the Wireless Landscape Building Smart-Client Applications Summary Agenda
Commerce Banking, trading Insurance Healthcare Point of care Prescriptions Retail/Hospitality Point of activity ERP Mobile SAP Emerging Mobile Application Areas
Data access at all times Require ‘always available’ applications Enterprise integration Access to various kinds of corporate data Oracle, Sybase, IBM, MS ERP (SAP, PeopleSoft) CRM (Siebel) Increased productivity More efficient data entry Reduce time to market Expectations
Ever-changing wireless environment slows time to market Technical barriers – complex nature of wireless solutions Wireless communications are slow and expensive m-Business Challenges
Challenge: Speed and Cost Thin client mind-set, limited coverage Low bandwidth networks means slow applications Limited battery life for wireless transmissions Challenge: Time To Market Lack of understanding Competitive pressure Challenge: Complexity Connection “stew” Multiple device, network, and security characteristics Emerging, multiple standards The Wireless Challenges iAnywhere SolutionsSolves the Complexity • Unique ‘Always Available’ platformensures fast, reliable accessto information at a lower cost • Experience and proven technology enablesfaster time to market with reduced risk • All major networks, devices, and operating systems • Solution roll-out, optimized 7x24 network center, customer support
Real-world Problemsin Wireless AlwaysAvailable Architecture ProblemsSolved • Faster response/ lower cost • Work anywhere, anytime • Dependability Low bandwidth Coverage andpenetration Battery life • Less datatransferred • Work offline/synch later • Connect when necessary Business Case for Always Available
‘Always Available’ access to enterprise data Mobile data store Data synchronization Ability to publish content to multiple devices and browsers J2EE Wireless framework Access to Enterprise Data RDBMS, ERP Systems, CRM Systems, mainframe, legacy Security Support for data encryption, authentication and authorization Key Benefits
Smart Client Mobile Data Store Device Identification Data Synchronization Content Transformation Messaging Security Enterprise Integration CRM Mainframe ERP Database Architectural Map
Smart Client Characteristics Development Overview Mobile Data Store Synchronization Messaging Smart Client Development - Topics
Persistent data Mobile data store High-performance data access Data Synchronization Integration with the Enterprise Characteristics of Smart Client
Messaging Push important data to mobile devices Rich user experience Contains business logic Sophisticated User Interface Palm, PocketPC, EPOC, RIM, Java clients Characteristics of Smart Client
Mobile Data Store C/C++ or Java SQL or data access APIs Data Synchronization SQL Messaging C/C++ or Java Rich User Interface C/C++ or Java Development Overview
Proprietary APIs Palm DB, Flat File Custom-coded solutions Customer built data structures, searching, sorting, and synchronization ‘Shrunk-down’ enterprise database Vendor reduces capabilities of enterprise database to make it fit on small devices Other Mobile Data Storage Options
Proprietary APIs One table per ‘database’ Poor performance Limited capabilities Custom-coded solutions Very resource intensive Increased risk Increased maintenance costs ‘Shrunk-down’ enterprise database Pre-chosen limited functionality Architecture not geared for mobile and wireless devices Other Mobile Data Storage Limitations
Advantages of SQL Synchronization to industry standard enterprise databases (robust and secure) Extremely small footprint Hand-coded speed Reduced requirements for platform specific knowledge Mobile Data StoreThe iAnywhere Solution
Step 1: Develop application code Step 2: Invoke Analyzer Step 3: Compile Step 4: Deploy Step 5: Setup Synchronization Mobile Data StoreDevelopment Process
Application Code iAnywhere Analyzer Customized Data Store Compiler Linker Application and Embedded Data Store Mobile Data Store How it Works Reference Database SQL / Data Access Code Runtime Libraries (Data Store)
SQL compliant Referential integrity Transaction processing Multi-table joins Bi-directional cursors Customized for your application Footprint as low as 50K Data structures and algorithms designed for in-memory database Mobile Data StoreFeatures
Performance Support for indexes Pre-optimized queries Large storage capacity Integrated synchronization Mobile Data StoreFeatures
Step 1: Modify GUI Add alert, menu item Step 2: Add data store code Step 3: Add “glue” code Attach data store code to GUI Step 4: Compile/deploy Building the Smart Client Application
Data SynchronizationArchitecture Database Server Synchronization Server Remote Computers
1. Upload Rows 2. Download Rows 3. Confirm Receipt Data SynchronizationHow it Works ConsolidatedData Store Database Server ODBC SynchronizationServer SmartClient smart
Synchronize to industry standard databases Oracle8, Microsoft SQL Server, IBM DB2 UDB, Sybase ASE, Sybase ASA Synchronization scripts are in native language of the enterprise database Synchronize to other enterprise data sources SAP, Siebel, PeopleSoft etc Accommodated using adapters in server All synchronization is bi-directional Data SynchronizationIntegration Features
The upload_cursor script is used to insert, update, or delete rows in the consolidated database The download_cursor script is used to insert or update rows in the mobile data store Data SynchronizationSimple Example SELECT emp_id, emp_fname, emp_lname FROM employee WHERE emp_id = ? SELECT emp_id, emp_fname, emp_lname FROM employee
Security Built-in authentication 128-bit encryption of communication between client and synchronization server Support for subsetting of data Support for horizontal and vertical partitioning of data Scalable Support for thousands of remote users Data Synchronization Key Features
Conflicts arise when sending data to enterprise database Data Store maintains old value and current value Synchronization server compares old values with consolidated database If old values match there is no conflict If old values do not match there IS a conflict Conflict Resolution Fully customizable by developer Scripts written in native language of enterprise database Can execute stored procedures or user-defined resolutions steps Data SynchronizationConflict Detection Features
Store and forward message queuing Guaranteed message delivery Push capabilities Delivery and non-delivery acknowledgements Intelligent (program to program) Messaging Message Delivery
JMS provider for Messaging Server Asynchronous communication from enterprise applications to wireless devices Or between enterprise applications Properties are exposed for communication IP address Server port Provider name Messaging JMS Interface
Networks ARDIS, Mobitex, CDPD, DataTAC, NORCOM, Analog cellular, GSM, CDMA, Wireless LAN Paging networks HDML alerts, email, SMS Devices Palm, PocketPC, DOS, Windows, EPOC, RIM, phone Messaging Services Network and Device Support
Data synchronization services Messaging services Content delivery services Enterprise integration services Application services End-to-end security Wireless gateway services m-Business Platform Key Features
Mobile Data Store High performance SQL compliant Customized for your application Data Synchronization Scalable, reliable bidirectional synchronization Script based, written in the native language of the RDBMS Advanced conflict detection and resolution Scripts use standard SQL Enterprise events can initiate data synchronization Data Synchronization Services
Store and forward message queuing Push message delivery Guaranteed message delivery Delivery and non-delivery acknowledgements Intelligent (program-to-program) or simple (e-mail, SMS, paging) Messaging architecture based on Java Messaging Service (JMS) Messaging Services
Open standards-based approach allows for integration with existing security systems Addresses new security issues unique to wireless environment Integrates with existing firewall, Virtual Private Network (VPN) and PKI technologies Supports WTLS for encrypting communication with WAP-enabled devices End-to-End Security
Authentication, Authorization, Encryption Flexible options for user authentication Several options for role-based security Simplifies adding SSL support to your applications Security management tools Data Synchronization Full user authentication 128 bit encryption using Certicom End-to-End Security
Smart Client applications provide ‘always available’ access to your data Mobile data store Enterprise synchronization Advanced messaging Overcome the challenges of wireless computing Low bandwidth Unreliable coverage Battery consumption Summary
Ask the Experts - about Mobile & Wireless Solutions Mezzanine Level Room 15B Mon./Tues. 11:30 am - 3:30 pm; Wed. 11:30 - 1:30; Thurs. 9 am - 12 noon Exhibit Hall - Demo Center (truck)exhibit hall hours SIG (Special Interest Group) Tuesday 5:30pm Mobile & Wireless SDCC, Upper level, Room 11 Keynote - Enabling m-Business Solutions Wednesday 1:30 pm - 3:00 pm iAnywhere Solutions Developer Community Excellent resource for commonly asked questions, newsgroups, bug fixes, newsletters, event listings - visitwww.ianywhere.com/developer iAnywhere Solutions Highlights
EM424 Building Smart-Client Wireless Applications • Alex Reif • Product Manager • iAnywhere Solutions • areif@sybase.com