The generic java UNO application eleminates the need to write java UNO applications. It allows to instance any java UNO or binary UNO service, it is reachable via java class or an applicat.rdb. Even more advanced scenarios with exported or imported objects are possible. The UnoApp is the java counterpart to the uno executable used for binary UNO. Before executing UnoApp the Java archive files jut.jar, sandbox.jar, ridl.jar and jurt.jar should be available in the class path. For example, to instantiate a ServiceManager only the service name has to be given:
Slightly more complicate is the import of an OO service manager:
The Instance
Inspector could be instantiated as follows (Windows):
In general the parameters are the following, a service manager to use, a service name or an import clause and optional arguments for the service which are passed via XInitialization. From this it follows that the service should implement the method initialize with all planned arguments. UnoApp can be called with different options: usage: UnoApp [option]*
|


