Download size reduction for Java applicationsExcelsior JET solutionJava Runtime Slim-Down is a new deployment model for Java SE applications that delivers a significant reduction of the download size. Implemented in Excelsior JET, a certified JVM with AOT compilation, Java Runtime Slim-Down has proved its effectiveness for many desktop Java applications. The table below shows download size figures for a few sample applications using Java SE 5.0. Note that the JRE need not be installed on end user systems to run the Java applications.
Click a link in the "Download" column to download the installation package for Windows. What is Java Runtime Slim-DownThe key idea behind Java Runtime Slim-Down is to select a few components of the Java SE API, which are not used by the application, and exclude them from the installation. For example, if your application does not use any of Swing, AWT, CORBA or, say, JNDI, Excelsior JET enables you to easily exclude (detach) the associated files from the installation. Using Java Runtime Slim-Down includes three simple steps: compilation, packaging, and deployment. CompilationYou run the Excelsior JET Optimizer that makes global (whole-program) analysis to figure out what Java SE components are not used by the application. Then, the Optimizer compiles application's bytecode and the used Java SE components down to native code and links them with the JET Runtime into a single executable.
Fig 1. Partitioning AOT compilation The unused Java SE components are left intact in the bytecode form. PackagingUsing the JET Installation Toolkit, you build two packages: the main installation package and the detached package that includes the unused components. You can wrap the main installation into Excelsior Installer bundled with Excelsior JET or use a setup generator of your choice.
Fig 2. Packaging DeploymentYou place the detached package on a Web server at the URL you assigned when creating the installation. Now you can ship the main installation to end users. Note that the JRE need not be installed on end users systems to run your Java applications. The Web server that stores the detached package is considered a "safety net". That is, if the deployed application attempts to use any of the detached components, the JET Runtime will pull the package down from the server and load the requested Java classes.
Fig 3. Deployment As a result, your Java applications are wrapped into a nice small installer and they run without installation of additional software (JRE) on end user systems. That is exactly what a typical consumer expects when downloading software. Try It Yourself!Eager to try it for your Java applications?
|
|||||||||||||||||||||||||||||||||||
|
Home | Company | Products | Services | Resources | Blog | Contact | Request a Call Site: Search | Sitemap | Forum | Credits © 1999-2007 Excelsior LLC. All Rights Reserved. |
|||||||||||||||||||||||||||||||||||