ibm domino and domino designer 9.0 social edition
Embed Size (px)
DESCRIPTION
IBM Domino and Domino Designer9.0 Social EditionTRANSCRIPT

© 2013 IBM Corporation
IBM Domino and Domino Designer 9.0 Social EditionPete Janzen | Domino App Dev - Sr. Product Manager

2 © 2013 IBM Corporation
Agenda
What's new in Domino 9.0 Social Edition What's new for Application Development in 9.0 Social Edition

3 © 2013 IBM Corporation
IBM Domino 9.0 Social EditionKey themes
Reduce TCO─ DBMT: Database Management Tool─ NSD monitor for Unix─ Quality-of-Service probe─ Further SSO improvements via SAML 2.0 support
Enhance security/integration─ SHA-2 support for encryption─ Transport Layer Security (TLS)─ OAUTH credential store to support Embedded
Experiences Improved transitions (9.0+)
─ Domino Migration Utility for mail/calendar conversion from Exchange
─ Domino patterns for IBM Pure Systems

© 2013 IBM Corporation
Operating System Support
Operating System for Domino 9.0 Social Edition Goals:─ Support Modern Strategic Operating System and Versions endorsed by IBM Software Group─ Bigger Emphasis on 64-bit by supporting only 64-bit Operating Systems─ Still Build and Ship 32-bit Domino primarily for API and Product Compatibility─ Future Major Domino releases planned 64-bit only
Platform Domino Support
Domino 32 bit Domino 64 bit
Windows 2008R2 - 64 bit x x
Windows 2012 – 64 bit x
AIX 7.1 POWER System x x
SLES 11 SP1 – 64 bit x x
SLES 11 SP1 z64 x
RHEL Server 6x x86 – 64 bit x x
RHEL Server 6.x System z x
IBM I 6.1 / 7.1 Hybrid for i

5 © 2013 IBM Corporation
SAML
Provides ease of use for end users – reduce the # of passwords to memorize
Allows for more complete SSO coverage across a variety of services, applications, and platforms.
Support for Notes, iNotes, and web clients─ Notes Federated Login─ Web Federated Login
SAML 2.0 is recommended, but SAML 1.1 is also supported.
Identity Providers supported─ IBM Tivoli® Federated Identity Manager® (TFIM)─ Microsoft's® ADFS 2.0 integrated with Active Directory®

6 © 2013 IBM Corporation
Notes Federated Login with SAML1) After launch, Notes connects to ID Vault to get IdP information. ID Vault (configured for SAML authentication) sends client IdP information.
2) Client connects to IdP, authenticates the user via username/password or Kerberos credentials. Once authenticated the client receives a SAML token.
3) Client sends SAML token to ID Vault.
4) ID Vault validates the token with the IdP.
5) ID Vault sends the id to the client.
● Once Notes session is completed, no ID remains. No ID ever stored on disk
● Yes, this will work on Citrix.
Note: Information is subject to change without notice at IBM’s discretion
1
42
ID Vault
Notes
AD FS
3
5

7 © 2013 IBM Corporation
True Single Sign On for Notes For Windows users one password can get you into:
─ OS, Notes, sidebar widgets, and web applications
Allow users to access external services from Notes─ IBM Sametime chat and meetings─ IBM Connections and file share─ Feeds─ Widget and Live Text─ Protector─ Embedded browser─ Open Social components leveraging the above URLs
Ease of use with cloud based services
Managed via Domino policies

© 2013 IBM Corporation
DBMT → DataBase Management Tool
Domino 9.0 Social Edition introduces a new task called DBMT that streamlines DB maintenance
Automatically Bounded by time─ Given a defined daily/weekly Maintenance Window, DBMT will achieve as much as it can, saving
the remaining tasks for the next maintenance window What it does?
─ runs copy-style compact operations─ purges deletion stubs─ expires soft deleted entries─ updates views─ reorganizes folders─ merges full-text indexes─ updates unread lists─ ensures that critical views are created for failover

© 2013 IBM Corporation

© 2013 IBM Corporation
Serviceability
NSD Monitor for Unix NSD Memory Summary for Unix QoS – Quality of Service Probe
─ Detects if server is not responding or hung─ Optionally email an administrator and/or automatically terminate the server and restart it.

11 © 2013 IBM Corporation
Transport Layer Security Successor to Secure Sockets Layer
─ An upgrade to SSL 3.0
Web Server activity protected by TLS
─ XPages─ Traveler─ iNotes─ ST─ REST APIs─ Quickr
Windows only in 9.0 IBM HTTP Server will act as “front end” for Domino HTTP server Requirement for many Governments, Agencies, and Contractors
Install Choice

© 2013 IBM Corporation
SHA – 2 Support
Secure Hash Algorithm 2 designed by the National Security Agency Covered under (FIPS) 140-2 Requirement for many Governments, Agencies, and Contractors As of 9.0 Social Edition SHA-2 is used for X.509 certificate signature verification
and S/MIME signed mail, and TLS (IBM HTTP) for authentication No Configuration needed, just works out of the box provided you have a SHA-2
certificate

© 2013 IBM Corporation
OAuth Open Standard for Authorization Domino 9.0 Social Edition adds support for OAuth Client Basis for Embedded Experiences feature in Notes/iNotes Mail
─ Embedded Experiences: allow you to access business critical actions from other applications without leaving your email. This brings collaboration in-context and results in tighter integration across iNotes, Connections, Notes, app dev (XPages), and 3rd-party products and services
“Credential store” in Domino stores OAuth tokens/keys for access to applications

© 2013 IBM Corporation
Authenticate

© 2013 IBM Corporation

© 2013 IBM Corporation
Local Mail Delivery Failover
New Domino 9.0 Social Edition feature that allows Local Delivery Failover if the destination mail file is unavailable
─ Database is Offline for maintenance or has been deleted─ MailFileEnableDeliveryFailover=1 will route mail to replica server with replica
More Granular than cluster failover as this is on database level during mail delivery

17 © 2013 IBM Corporation
Domino as a Pure Application Intent is to provide Domino patterns that will run on Pure Systems
Streamline the ability to provision new servers into the environment─ Accepts minimal information to get up and running
Customer will be able to build on existing patterns─ Custom patterns for specific use cases, such as web applications or mail servers
Patterns we are looking at─ Adding a new Domino server in an existing domain─ Adding a new Domino server into a new domain
Read more about IBM PureSystems at: http://www.ibm.com/ibm/puresystems

18 © 2013 IBM Corporation
IBM Notes Traveler 9.0
Windows Phone 7.5, 7.8, 8 Windows RT/Pro tablets BlackBerry® 10 Traveler server on IBM i
WindowsPhone
Windows 8 Tablet
BlackBerry® 10

© 2013 IBM Corporation
BlackBerry 10 Support Overview
BlackBerry 10 devices will use the native device apps for email, contacts and calendar and will use the Exchange ActiveSync protocol – no Notes Traveler client
BlackBerry 10 device use REQUIRES a Notes Traveler server to connect with Domino mail
BlackBerry 10 devices will be supported connecting directly to Notes Traveler with limited device management support
─ Personal perimeter only BlackBerry 10 devices will be supported connecting to Notes Traveler with a
BlackBerry® Enterprise Service 10® (BES 10) server─ Full device management support and control provided by BES 10 server─ Notes Traveler is part of work perimeter─ Notes Traveler server required in this configuration as BES 10 server does not
communicate with Domino

20 © 2013 IBM Corporation
Agenda
What's new in Domino 9.0 Social Edition What's new for Application Development in 9.0 Social Edition

© 2013 IBM Corporation
9.0 Social Edition Application Development Themes
Improve developer productivity─ Integrate XPages Extension Library into platform runtime and Designer─ Improve Domino Designer “Welcome” and “Home Page” experiences─ Improve debugging experience!!─ Quality
Application modernization─ Integrate XPages Extension Library into platform runtime and Designer─ Mobile web applications─ Extend Notes/Domino applications into social containers─ XPages in Notes client (XPiNC) performance enhancements
Bolster partner ecosystem─ Provide REST APIs for integration─ Provide Calendaring & Scheduling APIs─ XWork Server licensing changes

© 2013 IBM Corporation
Home Page and Welcome Experience
Updated look and feel to align with the new “Discover” page Simplified - removed Welcome page and consolidated content onto Home page Updated content with intros and help links to major help topics Quick Links tab provides a list of working sets (shows more than 5 working sets
at a time!), task links, links to resources, and tips Home remains closed on restart if manually closed before shutdown

© 2013 IBM Corporation
Domino Designer Server Side JavaScript Debugger
We heard you!!!! New “Domino Designer Server Side JavaScript” Debug Configuration
● Debugging is only supported on Domino Social Edition servers and later
● Debugger is based on Eclipse “Remote Java Connection” protocol and uses JPDA/JDI

© 2013 IBM Corporation
Domino Designer Server Side JavaScript Debugger
Debugger can be invoked from a new toolbar item
Breakpoints can be set directly within XPages' SSJS or within SSJS Script Library
New 'breakpoint' keyword has been added to the SSJS syntax to allow for permanent breakpoints
─ Breakpoints are only enabled when the server is running in debug mode Sever must be configured to run in 'debug mode' in order for debugger to work
─ Note this implies that a port must be opened on the server, so it is not recommended to debug servers that have unprotected access to the internet!
– JavaEnableDebug=1– JavascriptEnableDebug=1– JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000

© 2013 IBM Corporation
Improve XPages Developer Productivity
Content assist in xsp source editor editor!! (also works with SSJS in xsp source editor)
Hyperlink navigation withinthe xsp source editor
Hover help within the xsp source editor
Palette State Saving Jar design element Navigator now
shows all working sets!! :-)

© 2013 IBM Corporation
Bug Fixes to Critical Issues
Bug fixes for:─ Error 500 when using Java Design Element (also fixed in 853 FP1)─ Source control issues encountered when importing databases with
many script libraries (also fixed in 853 FP2)─ Fixes to tooling issues reported against Upgrade Pack 1
Fixes to the LotusScript Editor and builder─ Problems view reports correct line numbers for LotusScript errors!─ Improve search navigation
Performance/memory improvements in the XPages editor
IMPORTANT! - Increase Designer JVM settings─ Resolves Domino Designer 8.5.x and 9 stability issues─ See technote 1617708: Designer Performance Technote─ http://tinyurl.com/DesignerJVMSettings

27 © 2013 IBM Corporation
Some Core XPages Enhancements
Added 8.5.3 Upgrade Pack 1 to Domino, XWork, Designer and Notes
─ XPages Extension Library from UP1 now delivered with base platform!– Over 100 new XPages' tags/controls for Dojo, REST, application layout and more– New mobile controls
─ Domino data service (REST APIs)─ Teamroom and Discussion application templates
Upgrade core dependencies─ Dojo 1.8.1 offers enhanced mobile support and bug fixes─ CKEditor 3.6.6
– Fixed a number of bugs regarding multiple instances on an XPage, image resizing, attachment handling
– Added support for spell checker– Improved behavior on iOS (note: CKEditor is not supported on iOS)
─ Active Content Filter upgraded to 2.5.0.11

© 2013 IBM Corporation
Redirect Control
Use cases:─ Traveller or iNotes rewrites the Notes doclink to a web link─ Custom redirect handling required within an application
How:─ Set form display property to a target XPage that
includes a Redirect control instance Result:
─ The Redirect control instance will transform the request URL accordingly based on the set of redirect rules
Example:─ For a mobile redirect rule: ─ http://foo/bar.nsf/0e5e7/04aae/?OpenDocument
– becomes...─ http://foo/bar.nsf/mobile.xsp?documentId=04AAE&action=openDocument#document

© 2013 IBM Corporation
XPages in Notes Client (XpiNC) Enhancements
Performance enhancements─ Single Copy XPage Design feature
– Design Only copy of your XPiNC app locally deployed and preloaded– Java classes (*.class) and resources (*.css, *.js *.image etc) are cached– VERY efficient for many instances of a single application run using XpiNC
─ Single Copy Design with computeWithForm enhancements– computeWithForm can be very expensive when running remote applications– Computed form plus all its children must be downloaded and executed within the client– Large forms + High Latency Networks == Poor XPiNC performance– With local S.C.D computeWithForm loads design elements from local NSF
─ New “Run on Server” option allows remote applications to run directly on the Domino server– Mitigates situation where many XPiNC network transactions degrade performance– Uses Notes Account framework to avoid re-authentication– Can be set using an application wide setting; enabled by end user; set via policy
Extensible client side JavaScript model─ Provides secure access to Notes front end functionality via: NotesUIWorkspace classes,
Eclipse API classes or custom Java code

© 2013 IBM Corporation
XPiNC Performance Improvements
computeWithForm example:─ Run a Java Agent in a Local application and then on the same application on a server
Database app = session.getCurrentDatabase(); // Database app = session.getDatabase("myServer", “remoteReplica");Document doc = app.createDocument();doc.replaceItemValue("Form", "frmTask");doc.replaceItemValue("Subject", "computeWithForm operation)");doc.replaceItemValue("Body", "Text ... ...");
// log time before computeWithForm operationlong startTs = System.currentTimeMillis(); if (doc.computeWithForm(false, false)) {
// log time after computeWithForm operationlong endTs = System.currentTimeMillis();
System.out.println(Long.toString(endTs-startTs) + " millisecs (local)"); doc.save(true, true); System.out.println("document saved"); }
Sample Results

© 2013 IBM Corporation
XPages Mobile Application Development
Build new and extend the reach of existing applications to smart phones and tablets
─ Provide pervasive access to Notes/Domino data from your mobile device
– IOS, Android, Blackberry─ Improve business process efficiency by allowing
decision makers to approve workflows on the go Enable templates with mobile access
─ Enable existing applications by refreshing the design─ Teamroom & Discussion templates
Extend the XPages framework to support mobile web browsers
─ Makes it easy to develop mobile applications with the technology you know
─ One programming model for mobile, desktop browser and rich client

32 © 2013 IBM Corporation
XPages – Your On-ramp to Social Business Applications Integrate social capabilities from IBM Connections, IBM SmartCloud for
Social Busness, Facebook... into XPages applications─ XPages social enabler & Social
Business Toolkit SDK– Simplifies access to Connections &
SmartCloud for Social Business– Isolates complexity related to
authentication mechanisms– Provides easy to use objects
with many code examples

© 2013 IBM Corporation
XPages Social Edition Integration Points
Extend reach of Notes/Domino apps to Social Mail Inboxes and Connections Activity Streams
New XPages SendMail Action─ Drag & Drop action to facilitate sending simple e-mail─ Advanced features support Embedded Experience
– Encapsulates required JSON or XML payload

© 2013 IBM Corporation
Programmability Updates
Backend Classes─ Enhanced performance ViewNavigator
Enhancements to Domino REST data service─ Improved support for rich text─ Support for concurrent updates to documents (Last-Modified, If-Unmodified-Since, etc.) ─ Miscellaneous bug fixes
Java1.6SR12 + ifix
New Calendaring and Scheduling APIs!!!─ Provides management of personal calendar data and scheduling operations─ Based on iCalendar─ Available for C, Java™, LotusScript®, and server-side JavaScript

35 © 2013 IBM Corporation
C&S APIs: Capabilities
Simple CRUD actions─ Create, Read, Update, and Delete calendar entries─ Leverage iCalendar data format─ Support for repeating entries─ Support for all calendar entry types
– Meetings, appointments, reminders, all day events, anniversaries
Implicit Scheduling─ Invitations, updates, reschedules,
cancels, etc – all sent out automatically Calendar level operations
─ Read calendar view data, get newly arrived invitations, ... Entry level operations
─ Cancel a meeting, counter a meeting on a calendar, delete an appointment, etc Notice level operations
─ Accept, decline, counter, and take other actions on invitations, reschedules, etc
Even though it says JavaScript, help covers Java & LotusScript

36 © 2013 IBM Corporation
Public XPages Case Studies
Hendricks Regional Health─ Using XPages to improve staff scheduling & communication, access to field protocols for EMTs,
an insulin drip calculator and more─ Click → Link to case study
Imaging Business Machines, LLC.─ Using the XPages to modernize eisting business applications─ Click → Link to case study
Sauk County─ Local county government office in Wisconsin saves up to 75 percent in operating costs and
saves time with Domino and XPages─ Click → Link to case study
Czarnowski Display Service─ IBM Lotus Domino Designer software with XPages technology speeds web-based work order
system creation─ Click → Link to case study
Other case studies and internal references on w3─ Click → link to all XPages references and case studies

37 © 2013 IBM Corporation
Resources XPages.info – One stop shopping for XPages
─ http://xpages.info XPages forum – Got questions, need answers?
─ http://xpages.info/forum OpenNTF – Open source community
─ http://www.openntf.org XPages books from IBM Press
─ http://www.ibmpressbooks.com/search/index.asp?query=xpages Domino Application Development wiki
─ http://www.lotus.com/ldd/ddwiki.nsf NotesIn9 - Lot's of videos on XPages, Designer and more
─ http://notesin9.com/ Domino 8.5.3 Upgrade Pack 1
─ Article and TeamRoom demo IBM educational offerings
─ http://www.ibm.com/software/lotus/training/n8deducationofferings.html
White paper

© 2013 IBM Corporation
Backup Slides

© 2013 IBM Corporation
Debugging Server Side JavaScript!

© 2013 IBM Corporation
Client-Side JavaScript/Dojo Debug Option
New debug options─ Use case:
– Dojo Library deployed in an OSGi bundle on the server– Developer needs to debug uncompressed version of the source files
• e.g. xspClientDojo.js vs xspClientDojo.js.uncompressed.js
─ How:– Set the “Use uncompressed resources” option in
XSP Properties editor
─ Result:– The XPages runtime will server *.uncompressed.js & *.uncompressed.css if available (from
within the OSGi bundle)

© 2013 IBM Corporation
Server-Side Debug Options
Java Source code is included for all plug-ins in Social edition that originate in 8.5.3 UP1
Development Environment setup:─ VERY SIMILAR TO SSJS DEBUG SETUP!! :-)─ Server must be started in debug mode (again be aware of open server port!)
– JavaEnableDebug=1– JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000
─ Install Domino Debug Plugin into Domino Designer– http://tinyurl.com/XPagesDominoDebugPlugin
─ Import Java source plug-ins into Domino Designer– http://tinyurl.com/XPagesDesignerInstallSource (refer to step #11)
─ Set up Domino server and OSGI debug configurations

© 2013 IBM Corporation
Help Enhancements
Domino Designer 9.0 Social Edition user assistance─ Improved Designer Home Page info and tips─ Content assist and hover help within the XPages source
Designer Eclipse help plugins─ Many customer Feedback issues addressed in help─ ~ 1000 updates in the Designer basic guide─ Content organization streamlined
to remove redundant material─ Language cross references added
to some topics─ Many new code examples
– C&S APIs.... LotusScript Editor F1 help

© 2013 IBM Corporation
A Fresh Look at XPiNCPerformance Improvements
Single Copy XPage Design feature─ Design Only copy of your XPiNC app locally deployed and preloaded─ Java classes (*.class) and resources (*.css, *.js *.image etc) are cached─ VERY efficient for many instances of a single application run using XpiNC
Single Copy Design with computeWithForm enhancements─ computeWithForm can be very expensive when running remote applications─ Computed form plus all its children must be downloaded and executed within the client─ Forms may be arbitrarily large
– Large forms + High Latency Networks == Poor XPiNC performance– With local S.C.D computeWithForm loads design elements from local NSF
XPiNC – Beware of Application Design Bad Practices─ Avoid any application logic that incurs unnecessary network transactions
– Custom Columns in a viewPanel that call getDocument.getItemXxx();– @DbColumn().. @DBLookup() calls within the rendered property of controls

© 2013 IBM Corporation
XPiNC Performance Improvements – Run on Server
New “Run on Server” option─ Ability to run remote applications directly on the Domino server─ Mitigates situation where many XPiNC network transactions degrade performance─ Maintains XPages current look and feel─ Continues to support XPiNC custom features
– Notes bookmarking– Notes clients context menus (e.g. Open in Designer)– EnabledModifiedFlag/DisableModified flag behavior
─ XPiNC applications can be coded conditionally according to execution mode─ Uses Notes Account framework
– Facilitates seamless application access by avoiding re-authentication– If seamless authentication fails, runtime falls back to conventional XPiNC mode (run on
client)─ Run on Server is NOT enabled by default
– Can be set using an application wide setting; enabled by end user; set via policy

© 2013 IBM Corporation
XPiNC Client Side JS Enhancements
XPiNC now has an extensible client side JavaScript model─ Since Domino 8.5.1 the client side XPiNC programming model has been limited
– Developers were limited to a small number of predefined commands (alert, confirm etc..)─ New XSP command available in IBM Domino 9.0 Social Edition
– XSP.executeCommand(commandID, commandParameters)• commandID identifies the requested function• commandParams is an object containing arbitrary arg values
– Or can be null─ The referenced commands are implemented via client side Java plug-ins
– Extension point name; “com.ibm.xsp.rcp.ExtendedCommands– Uses simple IextendedCommands Java interface
─ Provides secure access to Notes front end functionality via:– NotesUIWorkspace classes– Eclipse API classes– Custom Java code

46 © 2013 IBM Corporation
Case Study – Core Transaction Enhancements Large customer has critical Notes application taking
5 seconds minimum for common operations─ Running 8.0.2
Comparative analysis showed benefits of moving to 8.5.3 FP2+ Outcome from just upgrading client to 8.5.3 FP2+
─ ~ 50% decrease in hourglass waiting─ ~ 40% decrease in overall NRPC Upgrading to current
release can really payoff

47 © 2013 IBM Corporation
Trouble Ticket DemoScreen Shots

48 © 2013 IBM Corporation

49 © 2013 IBM Corporation

50 © 2013 IBM Corporation

51 © 2013 IBM Corporation

52 © 2013 IBM Corporation

53 © 2013 IBM Corporation

54 © 2013 IBM Corporation

55 © 2013 IBM Corporation

56 © 2013 IBM Corporation

57 © 2013 IBM Corporation

58 © 2013 IBM Corporation

59 © 2013 IBM Corporation

60 © 2013 IBM Corporation

61 © 2013 IBM Corporation

62 © 2013 IBM Corporation

63 © 2013 IBM Corporation

64 © 2013 IBM Corporation

65 © 2013 IBM Corporation

66 © 2013 IBM Corporation

67 © 2013 IBM Corporation

68 © 2013 IBM Corporation

69 © 2013 IBM Corporation

70 © 2013 IBM Corporation

71 © 2013 IBM Corporation

72 © 2013 IBM Corporation