IBM Lotusphere 2013 AD109: Using the IBM® Sametime® Proxy SDK: WebSphere Portal®, IBM®...

download IBM Lotusphere 2013 AD109: Using the IBM® Sametime® Proxy SDK: WebSphere Portal®, IBM® Connections® - and Beyond.

If you can't read please download the document

Transcript of IBM Lotusphere 2013 AD109: Using the IBM® Sametime® Proxy SDK: WebSphere Portal®, IBM®...

1. AD109 Using the IBM SametimeProxy SDK: WebSphere Portal,IBM Connections - and Beyond.William Holmes (Software Engineer, IBM)Carl Tyler (Director, Epilio) 2013 IBM Corporation 2. Please note:IBMs statements regarding its plans, directions, and intent are subject to change or withdrawalwithout notice at IBMs sole discretion.Information regarding potential future products is intended to outline our general product directionand it should not be relied on in making a purchasing decision.The information mentioned regarding potential future products is not a commitment, promise, orlegal obligation to deliver any material, code or functionality. Information about potential futureproducts may not be incorporated into any contract. The development, release, and timing of anyfuture features or functionality described for our products remains at our sole discretion.Performance is based on measurements and projections using standard IBM benchmarks in acontrolled environment. The actual throughput or performance that any user will experience willvary depending upon many factors, including considerations such as the amount ofmultiprogramming in the user's job stream, the I/O configuration, the storage configuration, and theworkload processed. Therefore, no assurance can be given that an individual user will achieveresults similar to those stated here.2 2013 IBM Corporation 3. Agenda Introductions Sametime Proxy Overview Product Integration IBM Connections & IBM WebSphere Portal Programming Models LiveName & Chat Framework independent example Beyond the SDK Base Components & UI Prototype Extensions Mobiliy Live Help Application Conclusion & Future Direction3 2013 IBM Corporation 4. Carl Tyler Working with Notes since 1991 Building Sametime solutions for 10+ years 11 years service at IBM/Lotus 10 Years as an IBM Business Partner Director IBM Advanced Partner Epilio UC Planning and Deployment Custom UC Development 2013 IBM Corporation 5. Why the need for Sametime Proxy? We used to have Sametime Links Used in iNotes Quickr Connections Required JVM in browser HTML structure undocumented by IBM Undocumented interfaces to server 2013 IBM Corporation 6. Whats the answer? What can run on multiple browsers? Not require a JVM? Programmable? Customizable? Extendable? Support Anonymous Users 2013 IBM Corporation 7. 2013 IBM CorporationSametime Proxy 8. Sametime Proxy Architecture Proxy communicates with SametimeCommunity Server Does not require Sametime SystemConsole apart from install REST API, Base Components andDojo Widgets 2013 IBM Corporation 9. Why do we even need it? Access Sametime with no client Install Integration with business applications Access Sametime bots Situational Awareness Customer Help Agents can handle more than one call at a time. 2013 IBM Corporation 10. Sametime Proxy Client Overview10 2013 IBM Corporation 11. Sametime Proxy Overview11 2013 IBM Corporation 12. Product Integration IBM Connections 4.x UI Integration Profile12 2013 IBM Corporation 13. Product Integration IBM Connections 4.x UI Integration Business Card13 2013 IBM Corporation 14. Product Integration IBM Connections 4.x UI Integration Footer14 2013 IBM Corporation 15. Product Integration IBM Connections 4.x Configuration NO Edge Server profilesAppSrv01configcellsLotusConnections-configLotusConnections-config.xml Configuration Advice SSO (Authentication) https://ibm.biz/BdxSLc IBM Connections < > Sametime Community Server SSO Key - Domain (i.e. .ibm.com) Interoperability Mode (LTPA and LTPA2) HTTPOnly - Disabled Using the same Host Name (FQDN) Cookie Clash15 2013 IBM Corporation JSESSIONID Sametime Proxy supports Changing the Cookie Name 16. Product Integration IBM WebSphere Portal 8.x UI Integration Contact List Portlet16 2013 IBM Corporation 17. Product Integration IBM WebSphere Portal 8.x UI Integration17 2013 IBM Corporation 18. Product Integration IBM WebSphere Portal 8.x Configuration Modifying the Theme Profile ..applicationsAJAX Proxy Configuration.eardeploymentsAJAX ProxyConfigurationwp.proxy.config.warWEB-INFproxy-config.xml 7 Configuration Grouped Processes Manual Configuration Edit Install Portlet WAR Modify the Theme Profiles Install the BackEndChat EAR Add new Resource Environment Entries Restart the Server Create and Configure your Page Configure the Portlet Configuration Advice SSO (Authentication) https://ibm.biz/BdxSLc IBM Websphere Portal < > Sametime Community Server18 2013 IBM CorporationWebSphere Portal 7.x > Click Here 19. Programming Models LiveName Model is JavaScript Framework Independent Object Keys id, displayName, status, statusMessage, resolvedName, etc. Object Event Handlers onUpdate ,remove, Status Updates Update Types Status, Location, Capabilities (Telephony)1var myModel = stproxy.getLiveNameModel(,{args})19 2013 IBM CorporationModel Model 20. Programming Models Chat Model is JavaScript Framework Independent Object keys userId, isEmbedded, is1to1Chat, isAnonymous Object Event Handlers onMessage sendMessage onTyping onRichTextData onPartnerActive, onPartnerNotActive (Group Chat) onMeetingInvitation, onAnnouncement etc.var myModel = stproxy.getChatModel(,{args})var myModel = stproxy.getGroupChatModel(,{args})20 2013 IBM Corporation 21. Programming Models Framework Independent Widgets Custom LiveName What are you going to do with the data ?{"status":1,"statusMessage":"I am Available", userId:"CN=Samantha Daryn,O=ibm"} Change a status icon(s) ? Update Status Message Text Node ? Listen for updates Handle the data Lets see a Working Example 21 2013 IBM Corporation 22. 22 2013 IBM CorporationDEMO - 1 23. Programming Models Framework Independent Widgets Custom Chat What are you going to do with the data ?{"userId":"CN=Amy Jones1,OU=Users,OU=WestfordFVT,O=IBM,C=US","action":["chat","msgReceived"],"text":"Hello World","displayName":"Amy Jones1"}," Chat Transcripts Show user typing Listen for new messages Handle the data Lets see a Working Example 23 2013 IBM Corporation 24. 24 2013 IBM CorporationDEMO - 2 25. DOJO UI WIDGETS Leverage the UI Offering Base Components DOJO UI Widgets Queue Text25 2013 IBM CorporationDEMO - 3 26. Beyond the SDK Base Components Event Handling stproxy.hitch.connect(parent,child,function) returns OBJ stproxy.hitch.disconnect(OBJ); stproxy.hitch.event(obj,event,function) stproxy.hitch.bind(scope,function) Globalization stproxy.i18nStrings (32 Languages) stproxy.awareness._getStatusMessage(status) Images stproxy.getIconURL(status) stproxy.uiControl.iconPaths Cache Using /latest/ forces a redirect to ensure latest version of JS is loaded per build26 2013 IBM Corporation 27. Beyond the SDK UI Prototype Extensions General Prototypes Examples sametime.LiveName.prototype HTML Template Reset defaults Go Explore and Experiment !!27 2013 IBM Corporation 28. Mobiliy - Live Help Custom Application WebSphere Portal SSO Queue Engine Mobile Clients iOS Android Window 8 BlackBerry Sametime Proxy Tabbed Container NWay Chat Event Handling28 2013 IBM Corporation 29. 29 2013 IBM CorporationDEMO - 4 30. Conclusion Sametime 8.5.2IFR1 Base Components DOJO UI Widgets Framework Independent Widgets Web Application - No Sametime Proxy Client Code JS APIs, Comms Layer, Headers, Cookies, xDomain, Long Poll, Error Handling OR .... Just Load /stbaseapi/latest/baseComps.js?lang= Sametime Proxy Next Considerations Web Friendly NO RIGHT CLICK Storage / Persistence Tabbed Chat Integration reduced to single