Book Image

Domino 7 Application Development

Book Image

Domino 7 Application Development

Overview of this book

Written by Lotus insiders, the book provides a practical guide to developing applications making use of the important features and enhancements introduced in Notes/Domino 7. These experienced experts use their own experiences to map out the benefits you could gain, and the dangers you may face, as you develop Domino applications in your business. Written by specific experts, edited and overseen by Lotus content generator Dick McCarrick, this book is the definitive guide to developing Domino 7 applications. TECHNOLOGY Domino is an application server that can be used as a standalone web server or as the server component of IBM's Lotus Domino product which provides a powerful collaborative platform for development of customized business applications. It also provides enterprise-grade email, messaging, and scheduling capabilities.
Table of Contents (18 chapters)
Domino 7 Application Development
Credits
Foreword
About the Authors
About the Reviewer
Preface
Free Chapter
1
A Short History of Notes and Domino

DB2-Related @Functions


As mentioned in Chapter 3, Domino 7 introduces the ability to use IBM DB2 as a data store. To support this, four new DB2-related @Functions have been added. These include @IsDB2, @DB2Schema, @IsEmbeddedInsideWCT, and @PolicyIsFieldLocked.

@IsDB2

@IsDB2 lets you query a database to determine whether it is a DB2-backed Domino database. It provides two signatures; the first is a server and filename, and the second is a server and a replica ID. This is useful for preventing runtime errors in cases where you might not fully know which servers your code will run against. This function is particularly important if a database is replicated between a standard NSF-based Domino server and a DB2-backed Domino server.

@IsDB2 returns a 1 if the Domino database is backed by DB2 and returns a 0 if it is not. This function can be combined with @DbName to test the current database for DB2 support. @IsDB2("" : "") is equivalent to the use of @DbName.

@DB2Schema

@DB2Schema is intended...