Writing Java for Domino Applications

By Dave Hatter

IN THIS CHAPTER

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.

Категории