Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Building composite applications for IBM Lotus Notes V8

Mark Jourdain, Product Manager, IBM
Mark Jourdain is a Product Manager, IBM Lotus Notes and Domino Application Development.

Summary:  Follow along step-by-step as we show you how to create an NSF-based composite application in IBM Lotus Notes V8 using both NSF and Eclipse components. You can reference these procedures when creating your own composite applications.

Date:  23 Oct 2007
Level:  Intermediate PDF:  A4 and Letter (1433KB | 60 pages)Get Adobe® Reader®

Activity:  28533 views
Comments:  

Before you start

The process of building composite applications can involve multiple procedures. This tutorial organizes the procedures into multiple lessons that you can perform in the order presented.

About this tutorial

This tutorial contains the following steps you need to create an NSF-based composite application that includes both NSF and Eclipse components:

  • Overview and setup
  • Lesson 1: Create a WSDL file to support intercomponent communication
  • Lesson 2: Define IBM Lotus Notes view columns that publish properties
  • Lesson 3: Define IBM Lotus Notes actions for intercomponent communication
  • Lesson 4: Assemble an NSF-based composite application
  • Lesson 5: Add NSF components to the composite application
  • Lesson 6: Wire components in the composite application
  • Lesson 7: Publish properties using LotusScript APIs
  • Lesson 8: Add Eclipse components to the composite application
  • Lesson 9: Wire Eclipse and NSF components in a composite application
  • Lesson 10: Additional actions and wiring

Overview and setup

This tutorial includes procedures to guide you in creating an NSF-based composite application. The final composite application contains two NSF components from two IBM Lotus Notes applications and one Eclipse component. These components have loosely coupled event/action relationships across application and system boundaries, and they change their display based on user action in a single component.

In this tutorial, you are a developer using IBM Lotus Domino Designer V8 to modify the Lotus Notes application design elements to support intercomponent communication. You also use the Composite Application Editor (CAE), an optional feature of the Lotus Notes V8 client to assemble the components and to wire the components into event/action relationships. Developers and line-of-business users with proper access to a composite application can use the drag-and-drop capabilities of the CAE feature.

Figure 1 shows the composite application, which uses intercomponent communication. The user of the composite application can select a name in the Lotus Notes Contacts component displayed at the top left of the screen. The user name is published by that component, and the two other components execute their predefined logic to display information relevant to the selected user.

The user can also select a topic in the Tag Cloud component displayed in the upper right; the NDForum component, displayed at the bottom, executes its logic to list documents related to the previously selected user.


Figure 1. The Customer Interests composite application in Lotus Notes V8
The Customer Interests composite application in Lotus Notes V8

Applications for this tutorial

For our composite application, we include the following Lotus Notesapplications:

  • Lukas Geiger 8.0 Contacts, LGContacts.NSF
    This Lotus Notes application contains contact information for fictitious users. The design of this application is the design of the Lotus Notes Contacts, formerly known as the Personal Name and Address Book. You use one view as an NSF component and survey how the supplied properties and actions can be used.
  • Lotus Notes/Domino V6 and V7 Forum, NDForum.NSF
    This Lotus Notes application is a forum of questions and answers about Lotus Notes and Domino-related topics. Authors include the same fictitious users listed in LGContacts.NSF. This content and design are a subset of the Lotus Notes and Domino forum accessible from IBM developerWorks.

    You use one Lotus Notes view as an NSF component and modify it to support intercomponent communication.
  • Customer Interests Update Site, Tag Cloud Eclipse component
    As defined in wikipedia, a tag cloud (or weighted list in visual design) can be used as a visual depiction of content tags used on a Web site. Often, more frequently used tags are depicted in a larger font or otherwise emphasized, while the displayed order is generally alphabetical. Thus, finding a tag by alphabet and by popularity are both possible. Selecting a single tag within a tag cloud generally leads to a collection of items that are associated with that tag.

    The Tag Cloud component was built by another developer using the Eclipse IDE. Because the Lotus Notes V8 client supports components of different technologies, you include this component in your composite application. The Tag Cloud component is available from an update site stored in TC_US_8.NSF.

Setup procedure

Follow these steps to complete your setup for starting the tutorial lessons:

  1. Extract the contents of the ZIP file to a new folder of your naming.
  2. Copy the three Lotus Notes applications to the data directory of your Lotus Notes V8 client:
    • NDForum.NSF
    • LGContacts.NSF
    • TC_US_8.NSF

The following two text files contain LotusScript code that you can paste into Lotus Notes actions through your Lotus Domino Designer V8 client as noted in Lessons 3 and 10:

  • SelectPerson_Action_for_NDForum.txt
  • SelectSubCategory_Action_for_NDForum.txt

System requirements

To complete all lessons in this tutorial, you must install and setup the following:

  • IBM Lotus Notes V8 client software with the optional Composite Application Editor feature
  • IBM Lotus Domino Designer V8 client software

1 of 15 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Lotus
ArticleID=262948
TutorialTitle=Building composite applications for IBM Lotus Notes V8
publish-date=10232007
author1-email=Mark_Jourdain@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.