The core aspect for ditribution is DeploymentAC
. It
allows the user to easily define various deployment schemes by
defining deployment rules (see DeploymentRule
) on the
objects of the application.
Here is a sample deployment configuration:
// deploys 4 instances of Calcul on a remote JAC server // called //oil/s3 deploy "calcul[1-3]" "//oil/s3" // replicates calcul0 on all the hosts of the topology replicate "calcul0" ".*" // create remote access stubs for calcul2 on all the hosts // of the topology createStubsFor "calcul2" "//oil/s3" ".*"
Note that, to be accessible, the JAC servers must be declared in
the org.objectweb.jac.prop
of the application by defining the
org.objectweb.jac.topology
property.
Other aspects enables the programmer to install various protocols when the objects are deployed on a topology.