Sometimes, it's easier to launch the client with a bootstrap class instead of setting a factory. Then, the smart component is providing also a bootstrap class.
The smart bootstrap jar library is provided in the releases of EasyBeans. It can also be downloaded from the maven repository: http://repo2.maven.org/maven2/org/ow2/easybeans/easybeans-component-smartclient/
Select the version corresponding to the EasyBeans version.
In order to launch the bootstrap, the
ow_easybeans_component_smartclient.jar file needs to be
present and then it is invoked by using:
java -jar
ow_easybeans_component_smartclient.jar
Usage is printed when no parameteres are specified.
The jars containing the client provided by the developer are given using the -cp flag
java -jar
ow_easybeans_component_smartclient.jar
-cp myClient.jar:mylib.jar
The name of the client's class is provided on this command
java -jar
ow_easybeans_component_smartclient.jar
-cp myClient.jar:mylib.jar org.MyClient
In order to download classes, the bootstrap is connecting to the EasyBeans server by using default port/hostname. To specify a different host or port number, the following arguments can be used:
-port for the port number or -hostname for specifying the host name.