|
|
ADVISOR VIEW
Data Integration in Lotus Notes/Domino 6 and LEI 6
The sum is greater than the parts.
Since the inception of Lotus Notes, one of the most sought-after goals was to integrate it with other data sources, and why not? Notes provides world-class collaboration, workflow, security, and ease of development. You probably have many external data sources, such as relational databases, ERP systems, etc., that contain critical information about your organization. It makes sense to want the best of both: Notes' power combined with the highly scalable relational systems containing mission-critical data. But the road to data integration has been paved with good intentions -- and potholes of bad code, ruts of bad drivers, and foggy functionality.
Data integration then
Notes 3 introduced the ability to do @DbLookup and @DbColumn using ODBC data sources. Lotus then bought NotesPump, a data integration engine that let you map data fields between an external source and Notes. NotesPump provided a set of "connectors" that let a LotusScript developer work with external data using the same API, regardless of the back-end data source structure.
IBM released other integration tools as well, most notably LotusScript Data Objects (LS:DO), a set of drivers that "wrap" ODBC sources to make it easier to work with them from LotusScript. With Notes/Domino 4.5, IBM integrated the "real-time" capabilities of NotesPump into the Domino server, and rebranded it DECS. This let you quickly provide real-time access to external data sources in your Notes applications simply by filling out a few configuration forms. But, there were some drawbacks; most notably, for every external record you brought into Notes, you had to have a corresponding "key" document. This defeated the goal of using Notes as a pure "front-end" to external data because you still had all those documents in your Domino database.
IBM took the part of NotesPump that was left after adding DECS to Domino and rebranded it Lotus Enterprise Integrator (LEI). It provided scheduled integration between Domino and external sources and gave you the ability to have additional activities, such as scripted agents you could use to massage data moved between the two data sources. LEI included a new set of data drivers known as the Lotus Connectors. DECS had Lotus Connectors, but the connectors provided with Domino and DECS weren't the same as the connectors included with LEI. Things were getting better, but we still didn't have an easy way to integrate external data with Domino.
Integration now
Jump forward to today. One of the primary goals of Notes/Domino 6 is to make integration with external data as easy as possible. This is accomplished a couple of ways. In previous releases, DECS required you to configure the connections through the use of a database called the DECS Administrator. The person who was the Domino administrator usually controlled this database, so not only did you have to create the databases that used DECS, you also had to coordinate with someone else to configure and enable the connections and activities in the DECS Administrator.
Notes/Domino 6 puts the power back in the hands of the developer. Domino 6 includes a new design element called Domino Connection Resource (DCR) that represents the connection document found in the DECS Administrator. After you have a DCR, you can indicate in your forms that the data provided for individual fields comes from an external data source, which maps to your DCR. But IBM didn't stop there.
Getting virtual
The exciting new Lotus Enterprise Integrator, LEI 6, introduces a concept called "virtualization," which lets you have a Domino database act as a pure front-end to relational data, with no documents in the database. That's right -- views, forms, LotusScript, formulas, etc. all work as if the database has documents, but there aren't any. These are virtual documents. Additionally, you can have real-time virtual fields (the same thing DECS does) that map to virtual documents, providing a powerful and flexible model for front-ending data. LEI can also present multi-valued fields on a document, where the multi-value fields are multiple records in an external data source. You can even virtualize attachments and rich text fields.
LEI and DECS now share the same Lotus Connectors, so if you use them in your LotusScript applications, the connectors you have before you install LEI are the same you use after installation. The connectors are also more scalable and fast.
With LEI, you can provide the power of Notes with the scalability of an external data source -- and isn't that what we've wanted all along?
Looking ahead
And here's something to watch: IBM Senior Vice President and Group Executive Steve Mills has said that a future goal is to offer an alternative relational back-end data structure for Domino based on DB2. IBM tends to test ideas in other applications, to learn about the functionality in the real-world. An example of this is Domino Off-Line Services (DOLS), which began as the offline feature of QuickPlace. After testing and validation, IBM packaged it on its own and then made it a part of core Domino. I believe virtual documents may be another such technology trial, proving it's possible to provide a relational back end to a Notes/Domino data source. So, if you want to see where Lotus Software is going, look at where it is now. Based on what I'm seeing now, the future of data integration in Notes/Domino looks bright.
Rocky Oliver is a Senior Software Engineer in product development for Lotus Software at IBM. Rocky works on new features for Notes/Domino, and most recently released his latest project, IBM Lotus Notes access for SAP solutions. Rocky began his life as a Lotus geek in 1992 in Lotus' Word Processing Division (WPD). Rocky left Lotus in 1995 to begin a career as the HGOC (Head Geek on Campus) for large national consultancies, pre-IPO startups, and even founded his own company. Besides consulting, Rocky has worked on product development efforts as well. Rocky helped design and develop Synergistics' award-winning Prevail Suite, and has worked on various open source projects at OpenNTF.org (namely Surely Template and Blogsphere). Rocky is a fairly prolific writer and speaker as well. Rocky co-authored Notes and Domino 6 Programming Bible (Wiley, 2003), Teach Yourself... LotusScript for Notes/Domino 4.6 (MIS Press, 1997), and was a contributing author for Special Edition -- Using Lotus Notes and Domino R5 (Que/MacMillan Publishing, 1999). Rocky also regularly speaks on Lotus Domino and IBM WebSphere technologies at various conferences in the US and Europe, including ADVISOR conferences and IBM conferences such as Lotusphere. When not neck-deep in code, And if he's not busy enough, Rocky enjoys spending quality time with his amazing wife and five wonderful children. http://www.lotusgeek.com rock@notesdev.ibm.com
ARTICLE INFO
FREE ACCESS
Keyword Tags: Administration, Business Software, Business Solution, Business Technology, Collaboration, Data Integration, Database, Database Development, Database Management, IBM, IBM DB2, IBM Lotus, IBM Lotus Domino, IBM Lotus Enterprise Integrator, IBM Lotus Notes, IBM Software, IBM WebSphere, Integration, KM - Knowledge Management, Knowledge Management (KM), Lotus, Lotusscript, LotusScript, Microsoft Windows, ODBC - Open Database Connectivity, Security, Software Development, Tech Management, Technology Management, Tech: Development, Tech: Management, Tech: Software
|
|