Beginner Java Programming for Notes Domino 6
Course Code: 6JAVA1
Course Title: Beginner Java Programming for Notes Domino 6
Units: 10
Duration: 2 1/2 classroom equivalent days
Discussion Access: 4 months1

1. Up to 12 months access when purchased as part of a Curriculum Package.

Summary Description

Java has emerged as the programming language of choice for applications and is the only language available for servlets and Java Server Pages. Domino has supported Java since release 4.6 for agents. Other IBM/Lotus products like WebSphere and Sametime also use Java. This course teaches you the basics of the Java language and applies that knowledge to writing Java-based agents in Domino. Lessons include how to use Java to access and interact with Domino Objects including the Session, Database, View, AgentContext and Document objects. This course is written exclusively for Notes and Domino developers and contains many live demonstrations and hands-on activities that you do right in the Domino Designer. This course enables you to start programming in Java today!

Audience and Prerequisites

Experienced Notes Domino 6 developers who want to learn how to use Java in Notes and Domino applications. The recommended prerequisite is:

  • Experience as an Notes Domino 6 developer (TLCC's Notes Domino 6 Application Development 1 course or its equivalent.)
System Requirements

A Domino Designer 6 client and a current browser are required to take this course. Access to the Internet is required to get instructor support.

Course Modules

Module 1 - Introduction to Java
In this module you learn about the Java programming language, how it is implemented in Notes and Domino, and why this technology is becoming a "Must-Know" for developers today.

  • Understand why the Java Language was written
  • Learn where the Java Language came from and where it is going
  • Learn the basic constructs of the Java development environment
  • Learn what the Java Development Kit (JDK) is and where to find it
  • Differentiate between versions of the JDK
  • Learn what a Java Virtual Machine is
  • Understand how Java code executes
  • Learn the difference between .java files and .class files
  • Learn about different Java editing programs
  • Understand how Java is implemented in Domino and Notes
  • Compare Java agents to LotusScript agents

Module 2 - Java Building Blocks
In this module, you learn about the basic Java building blocks that you can use to develop a Java program.
  • Understand the code constructs of a Java program
  • Learn the Java syntax rules
  • Learn Java identifiers and data types
  • Learn the Java operators
  • Learn the Java decision making structures
  • Use iteration and flow control mechanisms
  • Understand Java's object oriented design
  • Learn to use the Java classes
  • Learn how to create a Java method

Module 3 - Java Interface to Domino Objects
This module describes how to use Java to gain access to the Domino Object Interface and presents the main Domino classes and programming techniques. This module also introduces the pseudo-code diagram methodology to solve problems using Java and the Domino Object Interface.
  • Learn which Domino objects are available to Java
  • Learn about the Domino object containment model
  • Learn how to access the Domino Object Interface using a Java agent
  • Learn how to reference Domino objects in Java
  • Learn to use the pseudo-code diagram methodology to solve problems using Java and the Domino Object Interface
  • Learn how to use the Session class to enter the Domino Object Interface and access environment information
  • Learn how to access the current database and any stored database
  • Learn how to access and use the View class
  • Learn how to "walk a view" to operate on each entry in a view
  • Learn how to create a Notes document using Java
  • Learn how to use the Document Context

Module 4 - Java Agents in Domino
Domino Designer provides several options for creating, executing, and storing Java Agents. The Domino server provides settings to run and restrict the execution of Java agents. This module provides details for creating, storing, exporting, executing and specifying settings for Java Agents in a Domino environment.
  • Learn how Domino Designer creates, compiles, and stores Java agents
  • Learn how to create shared Java Libraries and how to include them in an agent
  • Learn how to export the source code of a Java Agent
  • Understand the run options for Java Agents
  • Understand the Domino server settings for Java Agents
  • Learn the different ways to trigger a Java Agent
  • Understand the difference between Java Agents, Servlets, and CGI Programs