Domino-nieuwsbrief e-office Componenten in Composite Applications
      
welkom     nieuws 2008     nieuws 2007     nieuws 2006     nieuws 2005     Lotus Notes Domino     e-office

Componenten in Composite Applications
Lotus Notes 8 biedt de mogelijkheid om zogenaamde Composite Applications (CA) te bouwen. In dit artikel gaan we dieper in op de verschillende mogelijkheden.

Het gebruik van Composite Applications biedt een aantal voordelen:

  • portaal functionaliteit zoals data integration on the glass en click to action
  • java ui functionaliteit is rechstreeks toe te passen in een Lotus Notes applicatie
IBM brengt regelmatig artikelen uit over het bouwen van CA's. Ter voorbereiding is het volgende artikel interessant om te lezen: http://www.ibm.com/developerworks/lotus/library/notes8-patterns/

Verder postte IBM recentelijk een aantal voorbeeld componenten via openNTF.org.

Hierin worden de volgende componenten aangeboden:
  1. Checker: This presents a check box to the user with configurable text. When checked, it broadcasts mashups of properties set on it
  2. Clicker: This presents a button to the user with configurable text. When clicked, it broadcasts mashups of properties set on it
  3. Constants: Broadcast constant values. Useful for wiring "points of variability" to Notes components
  4. Converter: This converts any of the standard types to a generic string type and vice versa
  5. Database Open: A button to let you select a Notes database
  6. Document Viewer: Accepts a Notes URL and displays it
  7. Eclipse Selection: This converts the current selected eclipse object into a string. Most useful for broadcasting the Notes url of a line selected in a view
  8. File Open: A button to let you select a file
  9. Mockup: A visual only component for mocking up and prototyping UI, or providing labels
  10. Notes name: This does a Notes Name lookup and pulls out the name, distinguished name, internet address and up to four other fields
  11. Notes URL Processor: Takes a Notes URL, from action or selection, and extracts values from referenced object
  12. Sametime Business Card: Displays business card information from Sametime
  13. Standard Types Tester: This aids in unit testing components with standard values
  14. Table: This displays a table of values set by an action. Focus and selection state are broadcast through a property
  15. Tag Cloud: This displays a range of keywords weighted by given values. Selection and focus state can be returned
  16. Web Clipper: Displays a web page and extracts values
  17. Web Launcher: Takes a URL, and launches a web browser either in the environment or external to it
  18. Productivity Editor: This uses the productivity editor to display a document in read-only mode
  19. Sametime Buddy List: This presents a list of Sametime enabled people optionally tagged with an extra column of information
  20. Notes Join - Table: This displays a table of values computed from a variety of Notes sources
  21. Notes Join - Tree: This displays a tree view of values computed from a variety of Notes sources
  22. Notes to Tag Cloud: This is a component that calculates tag cloud information from a Notes view or Database

Een aantal van deze componenten lichten we hieronder verder toe. Een aantal van de bovenstaande componenten is direct toe te passen in eigen applicaties. Door de componenten te voeden met een property wordt de informatie direct getoond of verwerkt. Door in de Composite Application Editor (CAE) de properties te bekijken van de component krijgt u een idee wat de component nodig heeft om te functioneren.

ad 6. document viewer
De document viewer accepteert een notes url. Door een notes url te publiceren worden de waarden van een Lotus Notes document getoond.

ad 18. productivity editor
De productivity editor heeft een filepath nodig. De document viewer kan een url of een filepath accepteren. Zie onderstaande afbeelding:



ad 17. Web launcher
De web launcher accepteert een url. Als er een url aan de component wordt gevoed, zal de betreffende url in een browser geopend worden.




Veel van de properties zijn eenvoudig te achterhalen en zijn voor zichzelf sprekend. In dat soort gevallen is het raadzaam de source code te bekijken van de demo componenten. De source code is ingesloten in de meegeleverde jar's.