Child pages
  • Bootstrapper (alternative download method of the SmartClient)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2> as a standalone launcher, by downloading the jar and double click (java -jar boostrap.jar), supported with Servoy 8.3.2+

 


in both ways, you can rename the jar (or jnlp file) to what ever you want like "yoursolution.jar/jnlp" and have multiply copies of it for specific clients (like tenants)

...

The standalone bootstrapper is added because Oracle is dropping support for WebStart (not sure when, or if Java 11 will still have it)

Through webstart:

...


To speed up (especially under windows) the smart clients startup, you can use a special bootstrap.jar 

...

<argument>argument:owner:xxxxxxx</argument>  


The bootstrapthreadpoolsize argument is used to configure the maximum number of concurrent connections used to download the application files.

...


bootstrap.jar and bootstrap.jnlp are found in the ROOT of the context
So that is in a default servoy installation: \application_server\server\webapps\ROOT
in a war file it should be in the root of the war file

Then you can access it through:

http://hostname:port/bootstrap.jnlp

(and the above code base should be then http://hostname:port)


Standalone starter: (since 8.3.2, only use able from that Servoy release)

With the stand alone starter the customer doesn't download the bootstrap.jnlp file but the boostrap.jar file itself.

...

codebase=http://localhost:8080/test/
solution=test
bootstrapthreadpoolsize=8
arg0=system.property.MyKey=MyValue
arg1=argument:owner:1
arg2=owners:2
#jnlp.bootstrapper.home.dir= 


codebase: is the same as the code base property in the jnlp file above. This must be the application servers url to the root of the servoy application.

...