1040 ibm worklight delivering agility to mobile cloud deployments
DESCRIPTION
TRANSCRIPT
© 2013 IBM Corporation
IBM Worklight: Delivering Agility to Mobile Cloud Deployments Todd Kaplinger, STSM, Mobile Cloud Platform Architect Worklight - IBM Mobile Foundation IBM
1040A Tue, 30/Apr 10:15 AM - 11:15 AM Venetian - Palazzo K
2 2 © 2013 IBM Corporation
Please Note
IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion.
Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.
The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
3 3 © 2013 IBM Corporation
Mobile cloud services
Mobile cloud services are high-value middleware capabilities designed to be consumed by mobile applications. For example, a Passes service would enable businesses to easily engage with consumers by sending them loyalty coupons, tickets, etc.
MyApp
Boarding
Store Card
Event
Coupon
• Engage in dialog with product teams • Receive updates on cloud services • Participate in early release programs!
Join the Mobile cloud services community ibm.com/developerworks/community/ groups/community/mobilecloudservices
4 4 © 2013 IBM Corporation
Worklight Overview
4
5 5 © 2013 IBM Corporation
Worklight Server Unified notifications, runtime skins, version management, security, integration and delivery
Worklight Console A web-based console for real-time analytics and control of your mobile apps and infrastructure
Worklight Studio The most complete, extensible environment with maximum code reuse and per-device optimization
Worklight overview
Worklight Runtime Components Extensive libraries and client APIs that expose and interface with native device functionality ←
Worklight Application Center Development team provisioning, enterprise app provisioning and governance, feedback management
6 6 © 2013 IBM Corporation
Worklight Architecture Feedback Management
Device Runtime
Cross-Platform Compatibility Layer
Encrypted and Syncable Storage
Runtime Skinning
Server Integration Framework
Reporting for Statistics and Diagnostics
App
licat
ion
Cod
e
Worklight Console
Push /SMS Management
Reporting and Analytics
App Version Management
Blackberry
Android
iOS
Windows Phone
Java ME
Windows 8
SDKs
Mobile Web
Desktop Web
HTML5, Hybrid, and Native Coding
Optimization Framework
Integrated Device SDKs
3rd Party Library Integration
Bui
ld E
ngin
e
Worklight Studio 1
Public App Stores
Worklight Application Center
Development Team Provisioning
App Feedback Management
Enterprise App Provisioning and Governance
2 3
Ente
rpris
e B
acke
nd S
yste
ms
&
Clo
ud S
ervi
ces
Worklight Server
User authentication and mobile trust
Mashups and service composition
JSON Translation
Adapter Library for backend connectivity
Stat
s A
ggre
gatio
n
Unified Push Notifications
Client-Side App Resources
Direct Update
Mobile Web Apps
4
5
7 7 © 2013 IBM Corporation
Enhancement of Worklight Studio for Virtual Application Pattern
With IBM Worklight, you can work and deploy your apps directly from Worklight Studio to the Worklight Server
Integration of Application Center into Virtual Application Pattern
With IBM Worklight, you can configure and connect the operational components of the Application Center to deploy the enterprise application on PureApplication System.
Simplified deployment and Operational experience
IBM Worklight
Virtual application
pattern
Use Intuitive environment to
develop, test and deploy mobile
applications to the cloud using
PureApplication system
Simplify the operational
experience of IBM Worklight apps.
8 8 © 2013 IBM Corporation
Worklight Server and IPAS
8
9 9 © 2013 IBM Corporation
Demo
10 10 © 2013 IBM Corporation
Worklight Cloud Tenets
Extend Worklight concept of deployment ar:facts to the cloud to ease onramp of WL
Applica:ons to devOps
Deliver cloud centric management features to ease management of
Worklight applica:ons for devOps
Two pronged focus on both the developer and system administrator to ease
deployment of Worklight applica:ons for devOps.
11 11 © 2013 IBM Corporation
Vision of Worklight Cloud
IBM PureApplica:on System for ini:al release of Worklight
leveraging the Virtual Applica:on PaIern (VAP) type
Administrators will visually construct their paIern using
Worklight components such as WL Apps and WL Adapters using the Virtual Applica:on Builder Canvas
Worklight paIern based upon the exis:ng Web Applica:on PaIern
type.
12 12 © 2013 IBM Corporation
Worklight PaIern Composi:on
• Dependencies ‒ Web Applica1on Pa4ern Ø DB2 (required for persis1ng WL meta data) Ø WebSphere Applica1on Server (host WL Server)
‒ Tivoli Directory Server (TDS) Ø Security Integra1on via LDAP
• Worklight Libraries
• Worklight Based Plugins (IBM Workload Plug-‐in Development Kit (PDK))
13 13 © 2013 IBM Corporation
Create Worklight Server
• Create a Virtual Application Pattern.
• Drag an Enterprise Application component.
• Upload the Worklight.ear onto it. ‒ Generate this ear file from Worklight Studio or by using the command line
interface (CLI).
1. Drag a WAS Component.
2. Upload the ear file that is built by Worklight Studio or CLI
14 14 © 2013 IBM Corporation
Create Worklight Database • Drag a DB2 component and then specify the path to the create-worklight-
db2.sql file in the Schema file field. ‒ Get the SQL file in the WorklightServer/databases folder under your IBM
Worklight installation folder.
1. Drag a DB2 component.
2. Specify the SQL file.
15 15 © 2013 IBM Corporation
Configure Database Connection
• Link Worklight server and DB2.
• Specify the JNDI name as jdbc/WorklightDS.
3. Create a link.
4. Specify the Data Source.
16 16 © 2013 IBM Corporation
Configure Report Database
• Create and connect the report database by following the same steps as in the previous slide with the following changes: ‒ The schema file name is create-worklightreports-db2.sql. ‒ The JNDI name is jdbc/WorklightReportsDS.
Repeat previous steps to create the report database.
17 17 © 2013 IBM Corporation
Configure Worklight Server • Finally, drag a Worklight Configuration component, link it to Worklight
Server, and specify the security of the Worklight console.
1. Drag a Configuration component.
2. Create a link.
3. Specify the login credentials.
18 18 © 2013 IBM Corporation
Create Application and Adapter
• Create Worklight applications and adapters by dragging the corresponding components, and link them to Worklight Server. ‒ For applications, upload the .wlapp file. ‒ For adapters, upload the .adapter file.
1. Drag an Application or an Adapter.
2. Create a link.
3. Upload the .wlapp or the .adapter file.
19 19 © 2013 IBM Corporation
Updating the Worklight VAP Instance
1. Select the instance. 2. Click Manage.
• After creating an IBM Worklight VAP, can deploy it like any other VAP.
• Manage the running instances by going to Workload Console > Instances.
• Select IBM Mobile Application Platform Pattern Type 5.0 to filter.
• Select instance, and click Manage.
• Click Operations, and select Worklight.
• On the right panel, the following operations are supported: ‒ Install or update applications and
adapters. ‒ Set security protection of the
Worklight Console.
1. Click Operations.
2. Select WORKLIGHT.
3. Configure the login credentials.
4. Click Submit to save.
20 20 © 2013 IBM Corporation
Flexible Deployment Options
21 21 © 2013 IBM Corporation
Configure a new Tivoli Directory Server
To connect to a new Tivoli Directory Server: 1. Drag a User Registry component (under the User Registry
Components category). 2. Connect the Worklight Configuration component to the User
Registry component. 3. Define the Base DN and LDIF file of the User Registry component.
22 22 © 2013 IBM Corporation
Configure an existing Tivoli Directory Server
To connect to an existing Tivoli Directory Server: 1. Open a port on the PureApplication System firewall. 2. Drag a Connect Out component. 3. Connect the Worklight Server component to the Connect Out
component. 4. Defined the Port of the Connect Out component. 5. Optionally, define the Server IP or IP netmask.
23 23 © 2013 IBM Corporation
Worklight Application Center and IPAS
23
24 24 © 2013 IBM Corporation
Create Virtual Application Pattern
• Log into PureApplication System
• Go to Workload Console > Patterns > Virtual Applications.
• In the list on the left, select Web Application Pattern Type 2.0.
• Click the + button.
• In the dialog, select a template to start from, then click Start Building. ‒ Select the template that is convenient
for you. Remember that you must create one web application component, one database component, and one user registry component.
‒ For this module, select the Blank Application template.
1. Select Web Application Pattern Type 2.0.
2. Click + to add.
3. Select Blank application.
4. Click Start Building.
25 25 © 2013 IBM Corporation
Add a Enterprise Application Component
• On the Diagram pane on the left, expand Application Components.
• Drag an Enterprise Application component.
• On the property pane on the right, select the component, and specify the EAR file for the application center.
1. Drag and Drop a WAS Component.
2. Specify the EAR file.
26 26 © 2013 IBM Corporation
Add Routing Policy
• From the menu of the Enterprise Application component, click the + (add) icon, and then select Routing Policy.
• In the property pane of the Routing Policy component, specify the Virtual Host name.
27 27 © 2013 IBM Corporation
Add a Database Component
• On the left pane, expand Database Components.
• Drag a database (for this module, select Database DB2).
• Click the database and, on the property panel, specify the Schema file. ‒ You can get the create-appcenter-{db}.sql in the
{worklight_install_folder}/ApplicationCenter/database folder.
1. Drag a DB2 component.
2. Specify the Schema file.
28 28 © 2013 IBM Corporation
Connect the Application and the Database
• From the Enterprise Application component, click and hold the solid circle on the right edge, move the mouse to the database component, and then release. ‒ You created a connection (link) between the web application and the
database.
• Click the connection line, and specify the data source as jdbc/AppCenterDS.
1. Create a link.
2. Specify the data source.
29 29 © 2013 IBM Corporation
Add a User Registry Component
• On the left pane, expand User Registry Components.
• Drag a User Registry component.
• Select the User Registry component, and, on the property pane, specify the values of the Base DN and LDIF file fields.
1. Drag a User Registry component.
2. Specify the values of the Base DN and LDIF file fields.
30 30 © 2013 IBM Corporation
Connect the Application and the User Registry
• Create two links between the Enterprise Application and the User Registry component.
• Configure the user role mapping for these links: ‒ For the first link, set the Role name to appcenteradmin, and set Mapping
special subjects to All AuthenticatedUsers. ‒ For the second link, set the Role name to appcenteruser, and set
Mapping special subjects to All AuthenticatedUsers.
1. Create 2 links. 2. Specify the Role name.
31 31 © 2013 IBM Corporation
Deploy Application Center to the Cloud
• Save the virtual application. You can give it a name.
• Back to the Virtual Application Patterns page, you now see the pattern that you created.
• Click Deploy.
32 32 © 2013 IBM Corporation
Additional Info
We have customer feedback sessions where people who have experienced Worklight can give feedback. What: TMD-1020: Roundtable: IBM Worklight, Mobile application
platform, Discussion and Feedback Where: Venetian - Zeno 4709 When: Mon, 29/Apr, 02:30 PM - 03:30 PM
Tue, 30/Apr, 05:15 PM - 06:15 PM Wed, 1/May, 03:45 PM - 04:45 PM
We have Lab sessions where people can try Worklight for the first time:
What: TMD-1031: Hands-On Lab: IBM Worklight Where: Venetian - Murano 3205 When: Mon, 29/Apr, 04:00 PM - 06:15 PM
Thu, 2/May, 08:45 AM - 11:15 AM
33 33 © 2013 IBM Corporation
We love your Feedback!
Don’t forget to submit your Impact session and speaker feedback!
• Your feedback is very important to us – we use it to improve next year’s conference
• Go to the Impact 2013 SmartSite (http://impactsmartsite/com): ‒ Use the session ID number to locate the session ‒ Click the “Take Survey” link ‒ Submit your feedback
34 34 © 2013 IBM Corporation
35 35 © 2013 IBM Corporation
Legal Disclaimer
• © IBM Corporation 2013. All Rights Reserved. • The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in
this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.
• References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.
• If the text contains performance statistics or references to benchmarks, insert the following language; otherwise delete: Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
• If the text includes any customer examples, please confirm we have prior written approval from such customer and insert the following language; otherwise delete: All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
• Please review text for proper trademark attribution of IBM products. At first use, each product name must be the full name and include appropriate trademark symbols (e.g., IBM Lotus® Sametime® Unyte™). Subsequent references can drop “IBM” but should include the proper branding (e.g., Lotus Sametime Gateway, or WebSphere Application Server). Please refer to http://www.ibm.com/legal/copytrade.shtml for guidance on which trademarks require the ® or ™ symbol. Do not use abbreviations for IBM product names in your presentation. All product names must be used as adjectives rather than nouns. Please list all of the trademarks that you use in your presentation as follows; delete any not included in your presentation. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both.
• If you reference Adobe® in the text, please mark the first use and include the following; otherwise delete: Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
• If you reference Java™ in the text, please mark the first use and include the following; otherwise delete: Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
• If you reference Microsoft® and/or Windows® in the text, please mark the first use and include the following, as applicable; otherwise delete: Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
• If you reference Intel® and/or any of the following Intel products in the text, please mark the first use and include those that you use as follows; otherwise delete: Intel, Intel Centrino, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
• If you reference UNIX® in the text, please mark the first use and include the following; otherwise delete: UNIX is a registered trademark of The Open Group in the United States and other countries.
• If you reference Linux® in your presentation, please mark the first use and include the following; otherwise delete: Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.
• If the text/graphics include screenshots, no actual IBM employee names may be used (even your own), if your screenshots include fictitious company names (e.g., Renovations, Zeta Bank, Acme) please update and insert the following; otherwise delete: All references to [insert fictitious company name] refer to a fictitious company and are used for illustration purposes only.