|Fractal - Juliac|
Juliac is a framework for generating and compiling the source code of the infrastructure (so called membranes) which is needed to run a Fractal/Java application. The application can then be run without having to use ASM to generate on-the-fly classes for interfaces, controllers and merge strategies. Juliac is an alternative to Julia in cases where dynamic code generation and loading is problematic.
The name Juliac stands for "Julia Compiler".
The latest version of Juliac is 2.1.5 and is available as:
In addition, Juliac can be retrieved as a Maven artifact on the OW2 Maven repository.
<groupId>org.objectweb.fractal.juliac</groupId> <artifactId>juliac-all</artifactId> <version>2.1.5</version>
Juliac provides three main operational modes depending on the level of reconfigurability which is needed for the application and the infrastructure:
The following table compares the positioning of these three modes in Julia/Koch and Juliac.
Note: the 4 merge levels of Julia are none, mergeControllers, mergeControllersAndInterceptors, mergeControllersAndContent, mergeControllersInterceptorsAndContent.
The Juliac OO and MERGE_ALL optimization levels are equivalent in the sense that they provide the same level of reconfigurability for the application. Yet, the MERGE_ALL mode leads to component with a smaller memory footprint. Indeed, with the MERGE_ALL mode, which is equivalent to mergeControllersInterceptorsAndContent in Julia, a single Java class merging the business code, the control code and the interception code is generated per component. Whereas, with the OO mode, which is equivalent to none in Julia, the business, control and interception code parts are kept separated in different classes and assembled together with an internal data structure.
Questions, comments, ideas, etc. related to Juliac can be posted on the Fractal mailing list.
|Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster | Last modified at 2012-12-03 09:57 PM|