Chapter 1. Introduction

This document guides you through the various steps of writing an Urbi Java remote component using the UObject Java API.

This API can be used to add new objects written in Java to the Urbi language, and to interact from Java with the objects that are already defined.

The API defines the UObjectJava class. Each instance of a derived class in your Java code (extends keyword) will correspond to an Urbi object sharing some of its methods and attributes.

The API provides methods to declare which elements of your object are to be shared. It also provides methods to set up callbacks functions that will be notified when a variable is modified or read from Urbi code.

In chapter 2 we present a really simple UObject, and the requirement to make an UObject java program. Chapter 3 will be a walk through covering all the aspects of the UObject Java API. In chapter 4 we give some example of UObjects. And in chapter 5 we explain how to load and run the sample eclipse project we provide.