Java agents first became supported in Domino as of Release 4.6. These agents could be created in another editor and imported into Domino as an agent. Writing Java agents within the IDE was new to Release 5 and was improved upon in Domino 6. Java agents can be written from scratch in the IDE or can be imported. This section does not cover Java agents because they are covered in detail in Chapter 18, "Writing Java for Domino Applications." Because there are only a few differences between creating an agent using the Formula language or LotusScript and importing a Java agent, an explanation of these techniques is provided later in this chapter.
When you select Imported Java from the Run option in the design pane, a button becomes available at the bottom of the Design pane for importing the Java class files. When you click the Import Class Files button, the Define Java Agent Files dialog box appears, as shown in Figure 11.17. From the dialog box, you can select the class files that must be imported for your agent and reorder them as needed.
Figure 11.17. Importing class files for a Java agent allows you to select them from any directory.
When Java is selected from the Run option in the Design pane, an entire subset of buttons appears at the bottom of the Programmer's pane, as shown in Figure 11.18.
Figure 11.18. Writing a Java agent in the Domino Programmer's pane.
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