Beginner Java Programming for Notes Domino 9
Units: 10
Duration: 2 1/2 classroom equivalent days
Discussion Access: 12 months

Summary Description
This course will teach you the basics of the Java language and apply that knowledge to writing Java-based agents in Domino. Learn the basic Java operators, statements and core classes. Then learn 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 activities you do right in Domino Designer. This course also includes details and procedures for working with the full-featured Eclipse-based Java editor included with Domino Designer. This course will enable you to start programming in Java today!

Audience and Prerequisites
Experienced Notes Domino 9 developers who want to learn how to use Java in Notes and Domino applications. The recommended prerequisite is:
  • Experience as a Notes Domino 9 developer (TLCC's Notes Domino 9 Application Development 1 and 2 courses or their equivalent.)
System Requirements
A Notes and Domino Designer 9 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 and how it is implemented in Notes and Domino. This module also provides details on how to use the Eclipse-based Java editor integrated with Domino Designer to create Java agents for Domino, and for creating and using code snippets for code that is used often.
  • The basic constructs of the Java development environment
  • What the Java Development Kit (JDK) is and where to find it
  • Differentiate between versions of the JDK
  • What a Java Virtual Machine is
  • How Java code executes
  • The difference between .java files and .class files
  • How Java is implemented in Domino and Notes
  • Learn about the full-featured Eclipse-based Java editor and how to create Java agents for Domino
  • Use code snippets in Designer to store code that you use often

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

Module 3 - Java Interface to Domino Objects
This module describes how to use Java to access to the Domino Object Interface and the main Domino classes. This module also introduces the pseudo-code diagram methodology to solve problems using Java and the Domino Object Interface.
  • Which Domino objects are available to Java
  • The Domino object containment model
  • The Domino Object Interface using a Java agent
  • Reference Domino objects in Java
  • Use the pseudo-code diagram methodology to solve problems using Java and the Domino Object Interface
  • Use the Session class to enter the Domino Object Interface and access environment information
  • Access the current database and any stored database
  • Access and use the View class
  • How to "walk a view" to operate on each entry in a view
  • Create a Notes document using Java
  • 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.
  • How Domino Designer creates, compiles, and stores Java agents
  • Create shared Java Libraries and how to include them in an agent
  • Export the source code of a Java agent
  • Understand the run options for Java agents
  • Domino server settings for Java agents
  • Different ways to trigger a Java agent
  • The differences between Java agents, servlets, and CGI programs