Java SE 8
Strata is written entirely in Java, including its built-in pricing and analytics, with minimal third-party dependencies. We made an early decision to write Strata using Java 8, and the language features introduced in this version have benefited the entire codebase in particular for:
- Dates and times
- Streams and lambdas
- Methods on interfaces
Strata uses Joda-Beans for all of its data objects, for example in trade modelling, market data representation, calculation inputs, and results. Strata’s Joda-Beans are always immutable, helping to ensure thread safety at the core in systems built on top of Strata, and providing builder classes for these beans to make their programmatic creation clearer.
All Joda-Beans are automatically serializable to and from XML, JSON and binary forms. User extensions implemented as Joda-Beans will therefore integrate seamlessly with any code in Strata that loads or saves data using Joda-Beans.
Joda-Beans also offer a mechanism to handle backwards-compatibility as data objects evolve over time.
To reference and use Strata from external applications, these applications will need to be built using the Java SE Development Kit (JDK) 8u40 or later.
At runtime the Java Runtime Environment (JRE) 8 or later is required.
Building Strata from source code
To build Strata from source code, the following dependencies are required:
- Java SE Development Kit (JDK) 8u40 or later
- Maven 3.2 or later
Details on obtaining the source along with build instructions can be found at obtaining Strata.