Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager...

27
Mobile Applications Mobile Applications and SQL Server Mobile and SQL Server Mobile v3.0 (Laguna) v3.0 (Laguna) Kevin Collins Kevin Collins Senior Program Manager Senior Program Manager Microsoft Corporation Microsoft Corporation

Transcript of Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager...

Page 1: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Mobile Applications and Mobile Applications and SQL Server Mobile v3.0 SQL Server Mobile v3.0 (Laguna)(Laguna)

Kevin CollinsKevin CollinsSenior Program ManagerSenior Program ManagerMicrosoft CorporationMicrosoft Corporation

Page 2: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

AgendaAgenda

Overview / ScenariosOverview / Scenarios Intro to SQL Server CE Intro to SQL Server CE

v3.0 / Customer demov3.0 / Customer demo SQL Server CE v3.0 SQL Server CE v3.0

Features and demosFeatures and demos SQL Server CE v3.0 SQL Server CE v3.0

release schedule and release schedule and licensinglicensing

Page 3: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

SQL Server CE PositioningSQL Server CE Positioning Key Scenarios – Occasionally connected data accessKey Scenarios – Occasionally connected data access

Sync database over high speed connectionSync database over high speed connection Cradle, 802.11b, or EthernetCradle, 802.11b, or Ethernet

Use application offlineUse application offline Subsequent sync in field via slower connectionSubsequent sync in field via slower connection

GPRS, dial-upGPRS, dial-up MS Mobile ScenariosMS Mobile Scenarios

Mobile Web FormsMobile Web Forms Always connectedAlways connected Wide device support (over 300), including PalmWide device support (over 300), including Palm Limited UILimited UI

ADO.NET Data SetADO.NET Data Set Utilize XML web servicesUtilize XML web services No RI, QP, ability to query across data setsNo RI, QP, ability to query across data sets Not designed for large data setsNot designed for large data sets No compression on syncNo compression on sync Limited sync and trackingLimited sync and tracking Sync to any backend database via XMLSync to any backend database via XML

SQL Server CESQL Server CE QP, RI, query multiple tablesQP, RI, query multiple tables Compression on syncCompression on sync Built in tracking, strong sync to SQL Server Built in tracking, strong sync to SQL Server EncryptionEncryption

Page 4: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Introducing LagunaIntroducing Laguna Code name for SQL Code name for SQL

Server CE v3.0Server CE v3.0 Will ship with YukonWill ship with Yukon Biggest feature Biggest feature

release to daterelease to date Significant Significant

integration with integration with YukonYukon

Significant Significant integration with integration with Whidbey and .NET Whidbey and .NET CFCF

Significant Significant performance and performance and developer controldeveloper control

Significant Significant functionalityfunctionality

Easy code upgrades Easy code upgrades from SQL Server CE from SQL Server CE v2.0v2.0

Page 5: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Nevalon -- Pocket Nevalon -- Pocket Innovia Real-estate Innovia Real-estate

Page 6: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Nevalon - Pocket Nevalon - Pocket Innovia ArchitectureInnovia Architecture

Multiple Multiple Listing Listing

Service Service OracleOracle

Page 7: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna Supported PlatformsLaguna Supported Platforms

Mobile Edition 2003 PocketPC, Phone EditionMobile Edition 2003 PocketPC, Phone Edition Managed supportManaged support

.NET CF v2.0 in ROM for all Mobile Edition 2003 devices.NET CF v2.0 in ROM for all Mobile Edition 2003 devices Native supportNative support

eVC v4.1 via OLEDBCEeVC v4.1 via OLEDBCE Embedded Embedded

Next release of Windows CE.NET codenamed Next release of Windows CE.NET codenamed “Cardhu” “Cardhu”

Managed supportManaged support Native supportNative support

eVC v4.1 via OLEDBCEeVC v4.1 via OLEDBCE Smart phoneSmart phone

Next release of Smart Phone code named “Magneto”Next release of Smart Phone code named “Magneto”

Page 8: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Delta’s from CPU’s and OS versionsDelta’s from CPU’s and OS versions

255

188

148

246

11288

155

44 33

050

100150200250300

Tim

e i

n s

ec

on

ds

RDA Pull Update SELECTData-Reader

Intermec 700 64mb RAM, db in RAM

XScale 250PPC 02

XScale 255PPC 02

XScale 255PPC 03

Page 9: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Delta’s from CPU’s and OS versionsDelta’s from CPU’s and OS versions

272

191

102

48

0

100

200

300

Tim

e in

se

cond

s

Update SELECTData-Reader

HTC Phone Edition 32mb RAM SA1100, db on SD

PPC 02

PPC 03

Page 10: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

OLEDB CEOLEDB CE

CLR / .NET CFCLR / .NET CF

Laguna Device Data AccessLaguna Device Data Access

eVC 3.0eVC 3.0

SQL Server CE Data SQL Server CE Data ProviderProvider

Native StackNative Stack ManagedManaged StackStack

ADO.NETADO.NET

VB.NET / C#VB.NET / C#

OLEDB ProviderOLEDB Provider

Storage Engine / Repl TrackingStorage Engine / Repl Tracking

QP/Cursor Engine/ES QP/Cursor Engine/ES

SQL CE Edition v3.0SQL CE Edition v3.0

Page 11: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna Features – Storage EngineLaguna Features – Storage Engine

Multi-User supportMulti-User support Row level locking dataRow level locking data Page level locking indexPage level locking index Lock EscalationLock Escalation

Improved stabilityImproved stability ACID transaction supportACID transaction support

Auto re-use of empty pagesAuto re-use of empty pages

Page 12: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Multi-user database Multi-user database accessaccess

Page 13: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna Features - QPLaguna Features - QP

ShowplanShowplan Query optimization hintsQuery optimization hints Histogram support for query Histogram support for query

performance improvementsperformance improvements Updateable scrollable cursor / Updateable scrollable cursor /

SQLCECursorSQLCECursor Named parametersNamed parameters

Page 14: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Updateable Updateable Scrollable CursorScrollable Cursor

Page 15: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna Features - ToolsLaguna Features - Tools SQL Workbench integrationSQL Workbench integration

Same user experience connecting to SQL Server or Same user experience connecting to SQL Server or SQL Server CESQL Server CE Strictly adhere to Workbench look and feelStrictly adhere to Workbench look and feel Majority of modifications consist of disabling options not Majority of modifications consist of disabling options not

applicable to SQL Server CEapplicable to SQL Server CE Functionally equivalentFunctionally equivalent

Object ExplorerObject Explorer Query EditorQuery Editor Management DialogsManagement Dialogs

Whidbey integrationWhidbey integration Data designer support via Whidbey IDEData designer support via Whidbey IDE

NO MORE MANUAL CODING!NO MORE MANUAL CODING! DTS supportDTS support Win32 supportWin32 support

For scaling and deployment use onlyFor scaling and deployment use only

Page 16: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

* Yukon SQL Workbench Integration* Yukon SQL Workbench Integration * ShowPlan, QueryHints * ShowPlan, QueryHints

Page 17: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Yukon DTS supportYukon DTS support

Page 18: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna - SynchronizationLaguna - Synchronization Sync PerformanceSync Performance

Partitioned GroupsPartitioned Groups Dynamic Snapshots (BCP)Dynamic Snapshots (BCP) Well Partitioned tablesWell Partitioned tables Download-Only tablesDownload-Only tables Column level trackingColumn level tracking

Improved Sync ControlImproved Sync Control Multi-user syncMulti-user sync Progress notificationsProgress notifications Multiple Subscriptions in Multiple Subscriptions in

the same dbthe same db SQL Workbench integrationSQL Workbench integration

Improved Web Improved Web Configuration WizardConfiguration Wizard

New Subscription WizardNew Subscription Wizard Subsequent Sync SupportSubsequent Sync Support

SupportabilitySupportability Re-sync to restored Re-sync to restored

publisherpublisher Server Agent DiagnosticsServer Agent Diagnostics Server Agent StatisticsServer Agent Statistics

15 min summary15 min summary Per client sync summaryPer client sync summary

Dr WatsonDr Watson AgilityAgility

Managed custom resolverManaged custom resolver Article OrderingArticle Ordering SQL 2K supportSQL 2K support Connection Retry timeoutConnection Retry timeout Compression levelCompression level

Page 19: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

CLR / .NET CFCLR / .NET CF

Laguna ArchitectureLaguna Architecture

Client Client Agent: Agent:

ReplicationReplicationandandRDARDA

OLEDB / OLEDB / Replication APIReplication API

IISIIS

CLIENTCLIENT SERVERSERVER

Storage Engine / Repl Storage Engine / Repl TrackingTracking

Server Server Agent: Agent:

ReplicationReplicationandand

Remote Remote Data Data

AccessAccess

HTTPHTTP

XML/BizTalk/CS 2002XML/BizTalk/CS 2002

802.11b, 802.11b, CDPD, CDPD, GSM, GSM,

CDMA, CDMA, TDMA, etc.TDMA, etc.

Enterprise BackendEnterprise Backend

Oracle / db2 / etcOracle / db2 / etc

SQL Server SQL Server CE Data CE Data ProviderProvider

Data ProviderData Provider

SQL Server SQL Server Client Data Client Data Provider Provider

ADO.NETADO.NET

VB.NET / C#VB.NET / C#

ManagedManaged StackStack

TDSTDS

EthernetEthernet

Well Well ConnectedConnected

Occasionally Occasionally ConnectedConnected

OLEDB CEOLEDB CE

eVC 3.0eVC 3.0

Native StackNative Stack

OLEDB ProviderOLEDB Provider

QP/Cursor QP/Cursor Engine/ES Engine/ES

SQL CE Edition v3.0SQL CE Edition v3.0

Page 20: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

* Multi-user sync* Multi-user sync* Connectivity Wizard* Connectivity Wizard* Multiple Subscriptions in one database* Multiple Subscriptions in one database

Page 21: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Laguna Schedule / LicensingLaguna Schedule / Licensing

ScheduleSchedule First SQL CE beta with Yukon Beta 2 in First SQL CE beta with Yukon Beta 2 in

H1/04H1/04

LicensingLicensing Same as SQL Server CE v2.0Same as SQL Server CE v2.0

Free redistributionFree redistribution Purchase of CPU or CAL when connecting in Purchase of CPU or CAL when connecting in

any way to SQL Serverany way to SQL Server

Page 22: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Questions?Questions?

Page 23: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

AppendixAppendixAppendixAppendix

Page 24: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

.NET tools and.NET tools andserver integrationserver integration

Silicon Silicon VendorsVendors

DeviceDeviceManufacturersManufacturers

SolutionSolutionProvidersProviders

EnterpriseEnterpriseISVs and IHVsISVs and IHVs

Mobile OperatorsMobile Operators

WindowsWindowsMobile DevicesMobile Devices

Mobile Devices : End to EndMobile Devices : End to End

Page 25: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Windows Mobile RoadmapWindows Mobile RoadmapWindows Mobile RoadmapWindows Mobile Roadmap

?PlatformsPlatforms PPC 2000PPC 2000 PPC + PE PPC + PE

20022002

SP 2002SP 2002

PPC +PE 2003PPC +PE 2003

SP 2003SP 2003

PPC + PE v NextPPC + PE v NextVGAVGA

LandscapeLandscape

SquareSquare

StandardStandard

SP v NextSP v NextQVGAQVGA

StandardStandard

APIsAPIs Win32,Win32,

POOMPOOM

+ MFC,+ MFC,

Connection Connection ManagerManager

+ .NET Compact + .NET Compact Framework,Framework,

Bluetooth,Bluetooth,

SMSSMS

+ .NET CF Whidbey,+ .NET CF Whidbey,

New native runtimes,New native runtimes,

11stst class managed code, class managed code,

Notification ManagerNotification Manager

DirectX, Location APIs,DirectX, Location APIs,

Dr WatsonDr Watson

PPC = Pocket PPC = Pocket PCPC

PPC PE = PPC PE = Pocket PC Pocket PC Phone EditionPhone Edition

SP = SP = SmartphoneSmartphone

DevicesDevices

ToolsTools eVC 3 (C++)eVC 3 (C++)

eVB 3 (VB)eVB 3 (VB)

eVC 3 (C++)eVC 3 (C++)

eVB 3 (VB)eVB 3 (VB)

eVC 3 (C++)eVC 3 (C++)

eVC 4 (C++)eVC 4 (C++)

VS.NET 2003 VS.NET 2003 (VB.NET)(VB.NET)

VS Whidbey (C#, VB.NET, C++)VS Whidbey (C#, VB.NET, C++)

CE OSCE OS 3.03.0 3.03.0 4.24.2 MacallanMacallan

20002000 20022002 20032003 200x200x

Page 26: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

Windows MobileWindows MobileResources – On the webResources – On the web Windows Mobile Developer PortalWindows Mobile Developer Portal

www.microsoft.com/windowsmobile/developerwww.microsoft.com/windowsmobile/developer

Mobility Developer CenterMobility Developer Center www.msdn.com/mobilitywww.msdn.com/mobility

Mobile2MarketMobile2Market www.microsoft.com/windowsmobile/mobile2marketwww.microsoft.com/windowsmobile/mobile2market

Windows Mobile CommunityWindows Mobile Community www.microsoft.com/windowsmobile/resources/www.microsoft.com/windowsmobile/resources/

communities/developercommunities/developer

Smartphone Developer KitSmartphone Developer Kit www.microsoft.com/windowsmobile/information/www.microsoft.com/windowsmobile/information/

devprograms/smartphonedevkitdevprograms/smartphonedevkit

Page 27: Mobile Applications and SQL Server Mobile v3.0 (Laguna) Kevin Collins Senior Program Manager Microsoft Corporation.

© 2003-2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.