Yellow and Blue stream            Presenter: Frank van der Linden            Company: e-office
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Frank van der Linden• I live in Utrecht in the Netherlands• My role is XPages/Domino/Web developer at e-   office since 20...
e-office• Celebrated in 2011 it’s 20ste anniversary• First Lotus Business Partner in the Netherlands• e-office is IBM Prem...
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Blue          process | control | predictable         manage | low costs | mechanical        structure & process          ...
Yellow         knowledge | information | everywhere          network | creativity | goal oriented              smart & fle...
Yellow and blue• Adaptive organization• Flexible, able to change directions• Also predictable• We have build a system to b...
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
What is oAuth?• oAuth (Open Authorization) is an open standard for   authorization• It allows users to share their resourc...
oAuth, the 3 leg dance
oAuth in the real world
OpenSocial• Public specification that defines a component hosting   environment (container)• Based on HTML and JavaScript,...
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Activity Stream•It is part of the Social Business Toolkit•It is the stream of all information•API’s to connect to the stre...
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Yellow and Blue system• Get information from     • IBM Connections     • IBM Lotus Domino     • Google     • Social Busine...
Yellow and Blue system
Yellow and Blue system Demo
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Connect to the Activity Stream• If you don’t have an account for Greenhouse, go get it   (https://greenhouse.lotus.com)
Connect to the Activity Stream• oAuth is used, so you need to register your app.   (https://greenhouse.lotus.com/vulcan/se...
Connect to the Activity Stream• Get the Extension Library of OpenNTF, the 8.5.3 code stream, at   http://extlib.openntf.or...
Connect to the Activity Stream• The start point is KeysApplications.xsp in the WebSecurityStore   database
Connect to the Activity Stream• Create an Application Token document• Fill in the oAuth keys and the endpoints
Connect to the Activity Stream• In the Domino Designer go to the Package Explorer Eclipse View• Go to the faces-config.xml
Connect to the Activity Stream• NSFStore managed bean is used for the location of the   WebSecurityStore database• It will...
Connect to the Activity Stream• greenHouse managed bean is used to specify the oAuthEndpoint,   and were to store• AppId i...
Connect to the Activity Stream• Create a XPage with a viewPanel• Use the ActivityStreamData object as datasource  • The se...
Connect to the Activity Stream   • Activity Stream JSON - use full properties       • Title: entry.title       • Posted da...
Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activ...
Under the hood• One managed bean controls everything
Under the hood• It delegate the tasks to other Java classes
Under the hood• On the XPages, an event handler triggered a generic Java method   via the managed bean• Searchresults will...
Agenda•Introduction•Yellow and Blue•oAuth and OpenSocial•Activity Stream•Yellow and Blue System•Connect to the Activity St...
Questions and answers
How to reach me  @flinden68  http://www.domino-weblog.nl  fli@e-office.com
Upcoming SlideShare
Loading in...5
×

Uklug2012 yellow and blue stream

663

Published on

My

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
663
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Uklug2012 yellow and blue stream

  1. 1. Yellow and Blue stream Presenter: Frank van der Linden Company: e-office
  2. 2. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  3. 3. Frank van der Linden• I live in Utrecht in the Netherlands• My role is XPages/Domino/Web developer at e- office since 2000. So I started with Lotus Notes 4.5.x• I develop XPages application since the introduction of XPages in Lotus Notes 8.5.0• In my spare time I do a lot of running and then I mean a lot
  4. 4. e-office• Celebrated in 2011 it’s 20ste anniversary• First Lotus Business Partner in the Netherlands• e-office is IBM Premier Business Partner, Microsoft Gold Partner and RIM Alliance Elite partner
  5. 5. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  6. 6. Blue process | control | predictable manage | low costs | mechanical structure & process 9 to 5 | no errors | internal focus no change | control | process leading
  7. 7. Yellow knowledge | information | everywhere network | creativity | goal oriented smart & flexible
  8. 8. Yellow and blue• Adaptive organization• Flexible, able to change directions• Also predictable• We have build a system to bring both worlds together.
  9. 9. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  10. 10. What is oAuth?• oAuth (Open Authorization) is an open standard for authorization• It allows users to share their resources stored on one site with another site without having to hand out their credentials• oAuth allows users to hand out tokens instead of credentials to their data hosted by a given service provider. Source: http://en.wikipedia.org/wiki/OAuth
  11. 11. oAuth, the 3 leg dance
  12. 12. oAuth in the real world
  13. 13. OpenSocial• Public specification that defines a component hosting environment (container)• Based on HTML and JavaScript, as well as the Google gadgets framework• OpenSocial adopted support for Activity Streams format• OpenSocial API and oAuth support• OpenSocial gadgets will be part of IBM Connections 4 and IBM Lotus Notes Social Edition Source:http://en.wikipedia.org/wiki/OpenSocial
  14. 14. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  15. 15. Activity Stream•It is part of the Social Business Toolkit•It is the stream of all information•API’s to connect to the stream•It will be part of IBM Connections Next•oAuth authentication.•Support of OpenSocial gadget
  16. 16. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  17. 17. Yellow and Blue system• Get information from • IBM Connections • IBM Lotus Domino • Google • Social Business Toolkit• Tooling used • XPages • oAuth • Social enabler from OpenNTF • Java and managed beans • HTML5
  18. 18. Yellow and Blue system
  19. 19. Yellow and Blue system Demo
  20. 20. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  21. 21. Connect to the Activity Stream• If you don’t have an account for Greenhouse, go get it (https://greenhouse.lotus.com)
  22. 22. Connect to the Activity Stream• oAuth is used, so you need to register your app. (https://greenhouse.lotus.com/vulcan/security/provider/appList? serviceProvider=vulcanToolkit)
  23. 23. Connect to the Activity Stream• Get the Extension Library of OpenNTF, the 8.5.3 code stream, at http://extlib.openntf.org/• Install the Extension Library on Designer and Domino server• Deploy the Social Enabler database to your Domino server• Deploy the WebSecurityStore database to the root of your Domino server• And sign both databases with the correct ID.
  24. 24. Connect to the Activity Stream• The start point is KeysApplications.xsp in the WebSecurityStore database
  25. 25. Connect to the Activity Stream• Create an Application Token document• Fill in the oAuth keys and the endpoints
  26. 26. Connect to the Activity Stream• In the Domino Designer go to the Package Explorer Eclipse View• Go to the faces-config.xml
  27. 27. Connect to the Activity Stream• NSFStore managed bean is used for the location of the WebSecurityStore database• It will be used by other Managed beans to store oAuth data
  28. 28. Connect to the Activity Stream• greenHouse managed bean is used to specify the oAuthEndpoint, and were to store• AppId is the id, who is used as Application name in the SBT application registration page
  29. 29. Connect to the Activity Stream• Create a XPage with a viewPanel• Use the ActivityStreamData object as datasource • The service URL: vulcan/shindig/rest/activitystreams • Endpoint: greenHouse, as stated in the Faces-config.xml • Give the datasource a variable name, so you can connect to it in your ViewPanel • Specify in your ViewPanel as value the variable name of the datasource • And give the ViewPanel also a variable name
  30. 30. Connect to the Activity Stream • Activity Stream JSON - use full properties • Title: entry.title • Posted date: new java.util.Date(parseInt(entry.postedTime) • ID: entry.id • Image: entry.actor.image.url • Body: entry.body • JSON of the links to the source: entry.standardLinks.alternate[0].inlineActivity Stream On Greenhouse Activity Stream in Yellow and Blue system
  31. 31. Agenda• Introduction• Yellow and Blue• oAuth and OpenSocial• Activity Stream• Yellow and Blue System• Connect to the Activity Stream• Under the hood• Q&A
  32. 32. Under the hood• One managed bean controls everything
  33. 33. Under the hood• It delegate the tasks to other Java classes
  34. 34. Under the hood• On the XPages, an event handler triggered a generic Java method via the managed bean• Searchresults will be stored in a Java Object• Partial refresh of a panel on the XPages will display the information in a ViewPanel or a RepeatControl
  35. 35. Agenda•Introduction•Yellow and Blue•oAuth and OpenSocial•Activity Stream•Yellow and Blue System•Connect to the Activity Stream•Under the hood•Q&A
  36. 36. Questions and answers
  37. 37. How to reach me @flinden68 http://www.domino-weblog.nl fli@e-office.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×