OfficeFloor Java8 Shim

Provides backward compiling by Java8

License

License

Categories

Categories

Java 8 Languages Net
GroupId

GroupId

net.officefloor.shim
ArtifactId

ArtifactId

officeshim_java8
Last Version

Last Version

3.34.0
Release Date

Release Date

Type

Type

jar
Description

Description

OfficeFloor Java8 Shim
Provides backward compiling by Java8

Download officeshim_java8

How to add to project

<!-- https://jarcasting.com/artifacts/net.officefloor.shim/officeshim_java8/ -->
<dependency>
    <groupId>net.officefloor.shim</groupId>
    <artifactId>officeshim_java8</artifactId>
    <version>3.34.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.officefloor.shim/officeshim_java8/
implementation 'net.officefloor.shim:officeshim_java8:3.34.0'
// https://jarcasting.com/artifacts/net.officefloor.shim/officeshim_java8/
implementation ("net.officefloor.shim:officeshim_java8:3.34.0")
'net.officefloor.shim:officeshim_java8:jar:3.34.0'
<dependency org="net.officefloor.shim" name="officeshim_java8" rev="3.34.0">
  <artifact name="officeshim_java8" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.officefloor.shim', module='officeshim_java8', version='3.34.0')
)
libraryDependencies += "net.officefloor.shim" % "officeshim_java8" % "3.34.0"
[net.officefloor.shim/officeshim_java8 "3.34.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Website

Continuous Integration Codacy Badge codecov

Maven Central GitHub License

OfficeFloor

OfficeFloor - inversion of coupling control

Inversion of Control = Dependency Injection + Continuation Injection + Thread Injection

More information available at http://officefloor.net

Inversion of Coupling Control

OfficeFloor completes inversion of control by adding two new paradigms:

  • Continuation Injection: to inject functions to orchestrate application behaviour
  • Thread Injection: to inject/select thread (pools) to execute particular functions
  • Dependency (State) Injection: to inject objects for state into functions (currently only paradigm implemented by "inversion of control" frameworks)

In doing this, OfficeFloor is capable of running different threading models (e.g. both asynchronous single threaded and synchronous multi-threaded). In actual fact, OfficeFloor opens up mixing the threading models within the application and even introduces ability for taking advantage of thread affinity to CPUs.

This follows OfficeFloor modeling people in an office environment. As per the paper OfficeFloor: using office patterns to improve software design ( free download here ), OfficeFloor follows:

  • Office being an application that makes decisions on information
  • Tasks within the Office as functions/methods (weaved together with Continuation Injection)
  • Office employees/workers as threads that undertake the functions/methods (assigned via Thread Injection)
  • Forms being the objects (manage state via Dependency Injection)

This allows OfficeFloor to better align to how business processes actually work:

  • Workers synchronously working through tasks/functions of the processes
  • Workers working asynchronously with each other

In other words, people think/behave synchronously but organise asynchronously. Hence, both thread models are in play in modelling business processes. Furthermore, OfficeFloor makes development of asynchronous applications easier. This is achieved by allowing the developer to avoid asynchronous coding by having synchronous functions co-ordinated asynchronously (just like workers above).

Further to this, graphical configuration is used. An example configuration is as follows:

Graphical Configuration

net.officefloor.shim

OfficeFloor

Inversion of Coupling Control

Versions

Version
3.34.0
3.33.0
3.32.0
3.31.0
3.30.2
3.30.0
3.29.0
3.28.2
3.28.1
3.28.0
3.27.0
3.26.0
3.25.0
3.24.0
3.23.0
3.22.0
3.21.0
3.20.0
3.19.0
3.18.0
3.17.0
3.16.0
3.15.0
3.14.0
3.13.0