list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

More Options

All classes can be set to be distributable by using the following directive:

 distributable forced; 

Alternatively, all classes can be forbidden to be distributable by using the following directive:

  distributable off; 

One can use Web services instead of RMI by adding ws after distributable keyword in the class:

 distributable WS; 

Note: Web services is not currently working due to an issue with outdated dependencies.

Example

distributable forced; 
namespace example;

class Person { 
    String name;
}

class School {
    String schoolName;
}
      

Load the above code into UmpleOnline