Javolution
![]() | |
Developer(s) | Jean-Marie Dautelle |
---|---|
Stable release | 6.0.0
/ August 18, 2013 |
Repository | |
Written in | Java C++ |
Operating system | Cross-platform |
Size | 470 KB (archived) |
Type | Real-Time Library |
License | BSD |
Website | http://javolution.org |
Javolution is a real-time library aiming to make Java or Java-Like/C++ applications faster and more time predictable. Indeed, time-predictability can easily be ruined by the use of the standard library (lazy initialization, array resizing, etc.) which is not acceptable for safety-critical systems. The open source Javolution library addresses these concerns[1] for the Java platform and native applications. It provides numerous high-performance classes and utilities useful to non real-time applications as well. Such as:
- Collections [2] classes, supporting custom views [3], closure-based iterations, map-reduce paradigm, parallel computing, etc.
- Worst-case execution time behavior documented using Realtime [4] Java annotations.
- Fractal structures [5] to maintain high-performance regardless of the size of the data.
- OSGi contexts [6] allowing cross cutting concerns (concurrency, logging, security, ...) to be addressed at run-time through OSGi published services without polluting the application code (Separation of concerns).
- Algorithmic parallel computing support with concurrent contexts. [7]
- Struct/Union [8] base classes for direct interfacing with native applications.
- Perfometer [9] utility class to measure worst-case execution time with high precision.
- XML Marshalling/unmarshalling facility [10] capable of direct serialization/deserialization of existing classes (no intermediate data structure required).
- StAX-like XML reader/writer [11] which does not require object creation (such as String) and consequently faster than standard StAX.
- Simple yet powerful configuration management [12] for your application.
Since version 6.0, Javolution makes it easy to port [13] any Java source code to C++ for Cross-platform native compilation. OSGi and JUnit have been ported and are included with the core C++ distribution.
All modules (Java and native) are built using maven. Javolution can be used [14] either as an OSGi bundle (preferred) or as a standalone library.
References
- ^ Fully Time Deterministic Java
- ^ javolution.util
- ^ Collection Views
- ^ Realtime Annotation
- ^ Fractal Table
- ^ OSGi Contexts
- ^ Concurrent Contexts
- ^ Struct/Union
- ^ Perfometer Utility
- ^ XML Marshalling/unmarshalling Facility
- ^ StAX-Like Readers/Writers
- ^ Javolution Configuration Management
- ^ Javolution C++ Overview
- ^ Javolution Usage Overview
External links
- Javolution Website
- Fully Time Deterministic Java - AIAA Space 2007 Conference
- Validating Java for Safety-Critical Applications - AIAA Space 2005 Conference
- Turbo-Charging Java for Real-Time Applications - Java Developer Journal Article