Writing Java for Domino Applications

By Dave Hatter

IN THIS CHAPTER

  • Introduction to Java
  • Choosing a Java Solution in Domino
  • Understanding the Notes Object Interface
  • Writing Java Agents
  • Using Other Java IDEs
  • Other Uses for Java

Java made its much awaited introduction in Domino way back in R4.5, but it didn't really come into its own as a viable language (if not the language of choice) until R5, when Java support was greatly expanded and enhanced.

In Domino 6, the Domino Designer lets you edit and compile Java source in the Programmer's pane. You can also use it to easily browse through the Domino API, which can significantly speed your development time if you're new to Domino. Unfortunately, Domino Designer still lacks any direct debugging capabilities, but you can use the AgentRunner database to help debug agents. Additionally, you can write messages from the agent to the Java Console or to a Web browser for an agent invoked over the Web. One other option, and sometimes the best one, is to use another Java IDE such as Borland's JBuilder or IBM's VisualAge for Java.

This chapter covers the various ways you can use Java in Domino and why you might choose one approach over another. It also serves as brief introduction to the Java language itself and how it interacts with Domino through the Java binding of the Notes Object Interface (NOI), which allows you to programmatically create and manipulate Notes objects.

Part I. Introduction to Release 6

Whats New in Release 6?

The Release 6 Object Store

The Integrated Development Environment

Part II. Foundations of Application Design

Forms Design

Advanced Form Design

Designing Views

Using Shared Resources in Domino Applications

Using the Page Designer

Creating Outlines

Adding Framesets to Domino Applications

Automating Your Application with Agents

Part III. Programming Domino Applications

Using the Formula Language

Real-World Examples Using the Formula Language

Writing LotusScript for Domino Applications

Real-World LotusScript Examples

Writing JavaScript for Domino Applications

Real-World JavaScript Examples

Writing Java for Domino Applications

Real-World Java Examples

Enhancing Domino Applications for the Web

Part IV. Advanced Design Topics

Accessing Data with XML

Accessing Data with DECS and DCRs

Security and Domino Applications

Creating Workflow Applications

Analyzing Domino Applications

Part V. Appendices

Appendix A. HTML Reference

Appendix B. Domino URL Reference



Lotus Notes and Domino 6 Development
Lotus Notes and Domino 6 Development (2nd Edition)
ISBN: 0672325020
EAN: 2147483647
Year: 2005
Pages: 288

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net