Domino 5 Web Programming with XML, Java, and JavaScript

Domino 5 Web Programming with XML, Java, and JavaScript

4.0 2
by Randall A. Tamura, Randy Tamura
Domino 5 Web Programming with Java and JavaScript provides the latest information about the newest technologies in the Domino Designer. Learn how to program client interfaces with the Domino Designer. Use JavaScript to enhance your Web user experience and access back-end database systems with Domino Java servlets or agents. Each of the Domino Object classes is


Domino 5 Web Programming with Java and JavaScript provides the latest information about the newest technologies in the Domino Designer. Learn how to program client interfaces with the Domino Designer. Use JavaScript to enhance your Web user experience and access back-end database systems with Domino Java servlets or agents. Each of the Domino Object classes is described, making this a handy reference for Domino Java programmers. You'll learn advanced techniques such as how Notes and Domino interact with Java threads and how to create Java Server Pages by integrating the IBM WebSphere Application server with Domino. You'll learn secrets of component programming with Java Applets and JavaBeans. Each chapter ends with a set of questions that can be used to test your understanding.

Editorial Reviews

A book/CD-ROM explaining how various Web technologies work with Domino and giving examples of how they can be used to build Web applications. Part I covers important aspects of user interface programming with the Domino Designer, and Part II covers HTML and JavaScript. Part III discusses the difference between Java agents, applets, and applications and shows how to build Java agents and applets. Part IV is a complete reference for all classes, properties, and methods for the Domino Object classes, and Part V covers basics of XML, how to use XSL, and how to serve XML from Domino. The CD-ROM contains source code for examples, and software. Tamura is a Principal Certified Lotus Professional. Annotation c. Book News, Inc., Portland, OR (

Product Details

Pearson Education
Publication date:
Edition description:
Product dimensions:
7.44(w) x 9.20(h) x 2.11(d)

Read an Excerpt

Chapter 1: Domino Architecture and Web Applications

Lotus Notes and Domino have always had a client/server architecture. Originally, this architecture was based on proprietary technology, but now it has evolved to a standards-based communications infrastructure. With the list of standards including TCP/IP, LDAP for directory access, IIOP and CORBA for distributed objects, HTML, Java, and JavaScript, among many others, Lotus Notes and Domino provide a powerful platform for Internet, intranet, or extranet development.

In this chapter I'll introduce you to some of the technologies you can use to program Lotus Notes and Domino for the Web. These same technologies can also be used within your company to develop applications that can be accessed via Web browsers or Notes clients. The capability to use either or both types of clients makes Domino a good choice for your client/server computing platform. In later chapters I'll go into much more detail about these technologies. The purpose of this chapter is to give you an overview of all the programmability options before we focus on Java and JavaScript in the rest of the book.

Fundamentally, the objective in client/server computing is to distribute the computing workload so that you can accommodate more users and obtain more throughput. In the computing literature there has been a discussion about the relative merits of thin clients and fat clients. Essentially, a thin client performs very little processing and relies on the server for most computing tasks. Fat clients, on the other hand, offload computing tasks from the server, usually allowing more clients to be attached to a single server.

The Notes client provides end users with tremendous functionality. Some might call this a fat client, but I don't think that Notes is necessarily overweight. Essentially, Notes is a desktop database manager and communication package. It provides support for applications such as email, calendaring, and contact management. In addition, because of the replication features, you can store, manage, and execute complete applications in the Notes client on the desktop. All this power, however, comes at a price of disk storage and complexity. When a company installs Notes clients, it typically requires an administrator to administrate the users, passwords, and installation of software. Thus, in the past it has been unusual to find the Notes client being used by an individual at home unless it is to access a corporate network remotely.

The trend with Notes and Domino, however, is to make the Notes client usable as a Web browser and capable of being used with servers other than Domino. Domino also is moving toward a model where it can support Web browser clients as well as Notes clients. For example, Domino can execute agents on the server on behalf of any client, including Web browser clients.

Web servers and Web browsers have traditionally fallen into the thin client model because Web browsers have had limited functionality. It has been relatively difficult to develop complex applications for Web browsers because they haven't been capable. Web browsers, however, are becoming more and more powerful because of several factors.

JavaScript, developed by Netscape as a language to add user interactivity to the browser, is becoming more prevalent as well as more powerful. JavaScript is usually used to implement mouse rollovers, field input validation, and other simple client-side functionality.

Java applets are also being used to add intelligent functions on a Web browser client. Java can be used to develop complete user interfaces, simple controls, database access, and more. The Java language can also be used on the server. In this capacity, programs known as servlets, Java Server Pages QSPs), or Enterprise JavaBeans (EJB) can be developed to provide additional server-side functions. The main constraint to large, Java-based applications in a Web browser is communication bandwidth. On the Internet, most users still connect with modems, which are too slow to download large (say 1MB) Java applets. As bandwidth improves via cable modems, ISDN, DSL lines, and so forth, more and larger applications for the Internet will be possible. In corporate environments, bandwidth is usually sufficient to handle large Java applets. Thus, Java applets might be more useful today in corporate intranets than on the Web because of the bandwidth constraints.

Several layers of communications protocols are used in a networked environment. The lower layers of the protocol deal with hardware and the management of the movement of the data. Moving packets of data from a source computer through the network to the destination is the responsibility of these protocols.

Higher-layer protocols are used by applications to communicate between say, a client application and a server application. Often, to the user, both of these components are just pieces of a single application. The Notes client and Domino server, for example, can use special protocols to transfer database information from one to the other.

When the client and server parts of an application are relatively tightly coupled, the protocols used don't really matter too much as long as the client and server can communicate. However, as we move more and more toward the use of Internet protocols, even within corporations, standards become much more important. Using standard protocols allows the client and server programs to become less dependent on one another and allows users to select software pieces more independently. Web servers and browsers are the most successful example of this phenomenon. Many different kinds of Web servers are available, running on many different kinds of hardware platforms...

Meet the Author

Randall A. Tamura is Vice President of Engineering for PeopleLink, an Internet company that provides outsourcing of community services for Web sites. He is the author of four books on Notes and Domino, including the best-selling Special Edition Using Lotus Notes and Domino RS.

Tamura has more than 25 years of experience in the computer field, and has been working with Notes and Domino since release 3. Before joining PeopleLink, he was the president of Graphware Corporation, which provided Notes and Domino consulting services. Before founding Graphware, Tamura was the general manager of IBM's Engineering Systems Development organization in the Los Angeles area.

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >

Domino 5 Web Programming with XML, Java, and JavaScript 4 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
This was a highly anticipated book when it came out because it covered some very hot topics namely XML and Java. The book probably didn't quite live up to expectations but still provided a load of useful information about those topics. Today you're probably better off with purchasing Lotus Notes and Domino 6 Programming Bible. Brian Benz and Rocky Oliver have done a great job with that book.
Guest More than 1 year ago
Domino 5 Web Programming with XML, Java, and JavaScript provides you with the foundation you need for Lotus certifications in both Java and JavaScript. You'll learn how to use both of these languages with Domino. While there is currently no Lotus certification for the use of XML with Domino, you'll be way ahead if or when Lotus decides to add this exam to its list of certifications.

I've provided information in this book that can serve as both a tutorial and reference. Every Java class, property, and method is described, making this a comprehensive source for your Java programming projects. There are plenty of examples to illustrate the various concepts introduced. Each chapter also includes review questions, making the book suitable for classroom use.

The addition of XML capabilities to Domino is one of the most significant enhancements in recent memory, so you should start learning about this technology now. There are many ways to use XML with Java now and Lotus will be significantly enhancing Domino in the future. This book contains the latest XML information for Domino.

Examples include JavaScript form validation, a WAP demonstration program, using WebSphere and DB2 with Domino and much more. You'll learn how to use XSL to transform XML documents and how to use Java Server Pages with WebSphere and Domino.

So what are you waiting for? Click the order button now to get your copy of the first book to cover XML, Java, and JavaScript with Domino.