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:
- Checker: This presents a check box to the user with configurable text. When checked, it broadcasts mashups of properties set on it
- Clicker: This presents a button to the user with configurable text. When clicked, it broadcasts mashups of properties set on it
- Constants: Broadcast constant values. Useful for wiring "points of variability" to Notes components
- Converter: This converts any of the standard types to a generic string type and vice versa
- Database Open: A button to let you select a Notes database
- Document Viewer: Accepts a Notes URL and displays it
- 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
- File Open: A button to let you select a file
- Mockup: A visual only component for mocking up and prototyping UI, or providing labels
- Notes name: This does a Notes Name lookup and pulls out the name, distinguished name, internet address and up to four other fields
- Notes URL Processor: Takes a Notes URL, from action or selection, and extracts values from referenced object
- Sametime Business Card: Displays business card information from Sametime
- Standard Types Tester: This aids in unit testing components with standard values
- Table: This displays a table of values set by an action. Focus and selection state are broadcast through a property
- Tag Cloud: This displays a range of keywords weighted by given values. Selection and focus state can be returned
- Web Clipper: Displays a web page and extracts values
- Web Launcher: Takes a URL, and launches a web browser either in the environment or external to it
- Productivity Editor: This uses the productivity editor to display a document in read-only mode
- Sametime Buddy List: This presents a list of Sametime enabled people optionally tagged with an extra column of information
- Notes Join - Table: This displays a table of values computed from a variety of Notes sources
- Notes Join - Tree: This displays a tree view of values computed from a variety of Notes sources
- 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.