Course Code: 5JAVA1
Course Title: Beginner Java Programming for R5 Notes and Domino
Units: 10
Duration: 2 classroom equivalent days
Discussion Access: 4 months1
1. Up to 12 months access when purchased as part of a Curriculum Package.
Summary Description
What do IBM, Sun Microsystems, Oracle and Lotus all have in common? They are all companies that realize that Java is here to stay. All of these companies are leveraging Java to enable standards based access to data in their proprietary systems. Java has emerged as the programming language of choice for web-based applications (Servlets, Java Server Pages, Applets). Domino has supported Java since release 4.6. Learn the basics of the Java language and apply that knowledge to writing Java-based agents. 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 activities that you do right in the Domino Designer. This course will enable you to start programming in Java today!
Audience and Prerequisites
Experienced R5 Domino developers who want to learn how to use Java in Notes and Domino applications. The recommended prerequisites are:
- Experience as an R5 Domino developer (TLCC's R5 Application Development 1 and 2 courses or their equivalent.)
System Requirements
A single R5 Domino Designer client and a current browser. 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