The Multi-Sandbox capability of the MicroEJ Core Engine allows a main application (called Standalone Application) to install and execute at runtime additional applications (called Sandboxed Applications).
The MicroEJ Core Engine implements the [KF] specification. A Kernel is a Standalone Application generated on a Multi-Sandbox-enabled platform. A Feature is a Sandboxed Application generated against a specific Kernel.
A Sandboxed Application may be dynamically downloaded at runtime or integrated at build-time within the executable application.
The Multi-Sandbox process extends the overall process described in the overview of the platform process.
Once a Kernel has been generated, additional MicroEJ Application code
(Feature) can be built against the Kernel .
The binary application file produced (
application.fo) is compatible only
for the Kernel on which it was generated. Generating a new Kernel
requires that you generate the Features again on this Kernel.
Multi-Sandbox memory overhead of MicroEJ Core Engine runtime elements are described in the table below.
|Stack Frame||RW||8 bytes|
|Class Type||RO||4 bytes|
|Interface Type||RO||8 bytes|
Multi-Sandbox is an additional module, disabled by default.
To enable Multi-Sandbox of the MicroEJ Core Engine, in the platform configuration file, check Multi Applications.