This training lab consists of a series of incremental exercises that will introduce you to the Objectivity/DB development environment and step you through some of its key features.
Download Java Training Labs
Lab 1. Basics of Objectivity/DB for Java Application Development
The following lab exercises will familiarize you with the basic application development process and with the basics on persistence, iterators, scans and indexes using Objectivity/DB. Partial (template) Java code as well as complete solutions are provided so that you can focus on the development process. You will also learn how to use the Browse tool (ootoolmgr), with its graphical tools for viewing Objectivity/DB databases.
Lab 2. Persistent Objects
This lab will familiarize you with the basics on persistence, naming mechanisms, and indexes using Objectivity/DB. Partial Java code as well as complete solutions are provided so that you can focus on the development process. You will again use the Browse tool, with its graphical tools for viewing Objectivity/DB databases.
Lab 3. Clustering, Iteration, and Scanning
The focus of this lab will be to familiarize you with the basics on clustering, clustering strategies, naming mechanisms, maps, and the Predicate Query Language (PQL) using Objectivity/DB. You will use an ooMap to associate names with persistent objects. Partial Java code as well as complete solutions are provided so that you can focus on the development process. You will again use the Browse tool, with its graphical tools for viewing Objectivity/DB databases.
Lab 4. Multiple Threads and Sessions
This exercise will introduce you to Objectivity as a multi-threading database client. You will understand that one session can share many threads and that many sessions can be active at any given time. You will understand the difference between restricted thread policy and unrestricted thread policy. Partial Java code as well as complete solutions are provided so that you can focus on the development process. You will again use the Browse tool, with its graphical tools for viewing Objectivity/DB databases.