Enabling Enterprise Applications Marcus Perryman Microsoft [email protected] .

35

Transcript of Enabling Enterprise Applications Marcus Perryman Microsoft [email protected] .

Page 1: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .
Page 2: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Enabling Enterprise ApplicationsMarcus PerrymanMicrosoft

[email protected] http://blogs.msdn.com/marcpe

Page 3: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 4: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Enterprise Solutions

FieldWorker

Manager

EmployeeInternet

Messaging

RemoteAccess

Field DataCollection

Web Server

??

Intranet

ServerAccess

Desktop DataEntry System

Page 5: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Enterprise Challenges

SecurityMoving to remote connection raises new risks

ConnectivityCost, reliability, secure, ‘up to date’ enough

ManagementDevice ownership, tracking, policy and provisioning

DevelopmentTools and skills

Page 6: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Remote AccessAccess Enterprise resources securely

Virtual Private Networking802.1x for WiFi

Internet-facing Enterprise serversHTTP(S) access to content and web services

Connectivity:Socket support over WiFi, GPRS, 3G, Bluetooth, IRDA etc.Web browserTerminal Services Client (PPC)

Page 7: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Data Capture vs Data DisplayInput is hard on small screens

Hardware and software innovation are making input easierCareful application design requiredMinimize input, maximize usability

Data display advantagesInformation at the point of ‘sale’Data search is often the first step

Data capture advantagesData is captured at source Stay in the decision loop when on the road

Page 8: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Applications

Page 9: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Device Integration Scenarios

Internet

ActiveSync

Web Server

Desktop PC

MessageQueuing

ApplicationServers

Page 10: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 11: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

XML Web Services

Standards-based IntegrationXML communications using HTTP transport

SOAP messages to invoke remote services

Communicate with Non-Windows systems

Developer tools make this easyVisual Studio 2005 ‘Add Web Reference…’

Also available for C++ applications

Emerging industry standardsWS-Security, WS-Transactions, etc.

Page 12: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Web Services

Page 13: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 14: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Microsoft Message Queuing

Enables reliable communicationsSystems may be temporarily offline

Reliable, once-only and in-order delivery

Message QueuesOn device or at a remote location

Supported on Windows 2000, XP and 2003

Also available on Windows Mobile devices

For Pocket PC and SmartphoneNew managed libraries now available

Page 15: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Key Differences

Subset of desktop implementationCannot read messages from remote queues

Independent client – no directory access

No coordinated transactions via MS DTC

Single message transactions for sending

Can only create local, private queues

Supports NIC trackingExceeds desktop MSMQ capabilities

Retry message delivery on network reconnect

Page 16: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Installation

Separate downloadRedistributable Server Components for Windows Mobile 5.0

http://msdn.microsoft.com/mobility/downloads/components

Use VisAdm to verify installationService device drivers installed

Host has a unique name

Service is started

“Verify” and “Status” commands

Page 17: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Message Queues

Page 18: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 19: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SQL Mobile Overview

Fully-relational DB in 2-3MB footprint

Powerful data synchronization technologyRemote Data Access

Merge Replication

Tight IntegrationVisual Studio .NET 2005

SQL Server 2005

Secure (HTTPS)

Support for WM 5.0 Smartphones

Page 20: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SQL Mobile New Features

Storage engineRe-written to further optimize for mobile

Multi-User support

ACID transaction support

Auto re-use of empty pages

Query ProcessorCost-Based OptimizationExecution Plan and Query HintsSqlCeResultSet updateable scrollable cursor

Page 21: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Synchronization

Remote Data AccessPull operation from table or stored procedure

Tracking off - return results of SQL statement

Tracking on - pull directly from a table

Push Changes Back to Server

Merge ReplicationInitial snapshot from SQL Server 2005

Data can be modified on device and at server

Changes reconciled on next synchronization

Page 22: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 23: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Device Management

Initial Configuration (Bootstrapping)

ProvisioningSettings

Policies

Personalization

Inventory

Software Distribution and Update

ROM Re-flash and Image Updates

Page 24: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Configuration Services

Configuration Service Provider (CSP)Branding, Customization, Network, Security

Settings in XML file format

Processed on device to change settings

CAB Provisioning File (CPF)Contains XML configuration instead of EXE

Sign using SIGNTOOL

Distributed same way as CAB files

Page 25: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

XML Provisioning Example

<wap-provisioningdoc>

<characteristic type="BrowserFavourite">

<characteristic-query type="Hello"/>

</characteristic>

</wap-provisioningdoc>

Page 26: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

System Management Server

Device Management Feature PackAdd-on to SMS 2003 SP1

Client agent on Windows Mobile devices

FeaturesHardware/Software inventory

File collection

Software distribution

Script execution

Password policy & settings management

Page 27: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SMS 2003 In Action

Admin Console

Primary Site Server

DistributionPoints

Device ManagementPointsInventory

Data

Inventory

Data

Page 28: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SMS 2003 In Action

Admin Console

Primary Site Server

DistributionPoints

Device ManagementPoints

Software

Adverts

Software

Adverts

Page 29: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SMS 2003 In Action

Admin Console

Primary Site Server

DistributionPoints

Device ManagementPoints

Software

Download

Software

Download

Page 30: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

SMS 2003 In Action

Admin Console

Primary Site Server

DistributionPoints

Device ManagementPointsSetup

Report

Setup

Report

Page 31: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Oh and don’t forget MSFP

Page 32: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Agenda

Enabling the Enterprise

Web Services

Message Queues

SQL Mobile

Device Management

Summary

Page 33: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Summary

Develop for the EnterpriseGreat connectivity options to the back-end

Robust, secure and scalable solutions

Enterprise data storageIntegration with SQL Server 2005 tools

Integration with Visual Studio 2005

Management solutionsSMS 2003 Device Management FP

Exchange 2003 Messaging & Security FP

Page 34: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

Questions

Email [email protected]

Bloghttp://blogs.msdn.com/marcpe

Windows Mobile Developer Centerhttp://msdn.microsoft.com/mobility/windowsmobile

Page 35: Enabling Enterprise Applications Marcus Perryman Microsoft marcus.perryman@microsoft.com .

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