Академический Документы
Профессиональный Документы
Культура Документы
MDS Studio
Mark Sohm
Welcome to
Topics The Next Level
BlackBerry Technical Seminar 2007
•Overview
•MDS Application Framework Topology
•Learning MDS Studio
•Database Connector
•Introducing the Database Connector
•Working with the Database Connector
Welcome to
What is BlackBerry MDS Studio? The Next Level
BlackBerry Technical Seminar 2007
Overview
Welcome to
MDS Application Framework Topology The Next Level
BlackBerry Technical Seminar 2007
analyze
deploy
publish
Application Application
Registry …….
Repository Enterprise
…….
Smart-phones ……. Applications and Data
with BlackBerry
SAP
MDS Runtime
Siebel
Internet
MS .Net
BES and
BlackBerry Oracle
MDS Services
Welcome to
No Java? No Problem. The Next Level
BlackBerry Technical Seminar 2007
•MDS Studio leverages well known techniques from familiar programming models
and optimizes and simplifies them for Wireless (Does XML + Script sound
familiar?)
•Business logic and workflow can be extended using standard JavaScript
•Integration with backend data sources leverages web service (WSDL) and
database standards (SQL)
•MDS Studio makes it very easy to build simple, prototype style applications which
can be used as foundations for full-scale deployments
Welcome to
Where to start? The Next Level
BlackBerry Technical Seminar 2007
Bottom Up approach
•Useful when working with a pre-existing data source
•Data Source Update wizard manages change
Messages
Screens Cross-component
mappings
JavaScripts Bindings
Data Source
Workflow
Data
Data Components
Welcome to
Data Components The Next Level
BlackBerry Technical Seminar 2007
Action Icon
Basic Properties
• select the Fields tab in the Data Editor, click +, and configure:
• Name
• Type
• Array
• Default Value
Welcome to
Data Components The Next Level
BlackBerry Technical Seminar 2007
• removed in script
• removed by setting all references to a keyless data component to null
Welcome to
Data Components The Next Level
BlackBerry Technical Seminar 2007
• Use BlackBerry device application data by mapping screen controls and data components to
built-in data components
• Built-in data components available:
• Contact
• Address
• Event
• Attendee
• RepeatRule
• Message
• Task
• DeviceInfo
Welcome to
Screen Components The Next Level
BlackBerry Technical Seminar 2007
Screen Components
Welcome to
Screen Components The Next Level
BlackBerry Technical Seminar 2007
Menu Pane
Create menus by
dropping MenuItems
Control Palette onto the Menu Pane
Screen Viewer
Welcome to
Screen Components: Screen Viewer The Next Level
BlackBerry Technical Seminar 2007
Menu Item
Image
Label
Separator
Message Components
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
Inbound messages
• for inbound BlackBerry MDS Studio™ Application messages, the BlackBerry® device receives
information from the data source
• request-response inbound message
• notification inbound message
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
Outbound messages
• for outbound BlackBerry MDS Studio Application messages, the application sends information
to the data source
• request-response outbound message
• event outbound messages
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
• Used to specify
• the BlackBerry MDS Studio Application message definition
• the interaction with the BlackBerry MDS Studio Application data model at runtime
• Application messages can be mapped to the following types of data components:
• global variables
• keyed data collections
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
Limitations
• There are some rules that apply to inbound and outbound message mappings based on
message assignment type:
• Entire data structure
• map a message to an entire global variable
• map a message to a data collection
• Partial data structure
• map a message to one or more fields in a global variable
• map a message to one or more fields in a data collection
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
• Message properties that can be set from the Basic Properties tab of the Message Editor:
• rename the message
• assign a security level to
the message
• assign a script to the
message (inbound
messages only)
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
• Inbound messages may need to update data in one of the following ways:
• update a single data component, or update a field within a top-level data component
• update a data component that is part of another data component
• update the value of a global variable
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
• An alert attached to an inbound message informs the user that an event has taken place
• Alert types can be combined with the default alert using the following options:
• Ribbon
• Dialog
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
• Two strategies for delivering messages between BlackBerry MDS Studio applications and the
BlackBerry MDS Services:
• best-effort
• no delivery and ordering guarantee
• standard
• delivery and ordering guarantee
Welcome to
Message Components The Next Level
BlackBerry Technical Seminar 2007
Flow control
• Queues five packets for delivery until time-out is reached
• The default flow control time-out for BlackBerry MDS Services is 10 minutes
Time-out
• While these packets are queued for delivery, no further packets are pushed until the original five
packets are acknowledged by the BlackBerry device
• Subsequent push packets are also subject to a time-out period, and will be discarded after the
time-out is reached
Welcome to
Database Connector The Next Level
BlackBerry Technical Seminar 2007
Database Connector
Introducing the Database Welcome to
The Next Level
Connector BlackBerry Technical Seminar 2007
Oracle® 9i
Introducing the Database Welcome to
The Next Level
Connector BlackBerry Technical Seminar 2007
Database Operations
•Database Operations are used to interact with your database
•Similar to Message Components when using a web services
•There are 2 design modes you can use to accomplish this
• Visual Mode
• Advanced Mode
Working with the Database Welcome to
The Next Level
Connector BlackBerry Technical Seminar 2007
Thank you!