Rapidoid HTTP Server

Rapidoid HTTP Server implementation

License

License

Categories

Categories

Net Rapidoid Program Interface REST Frameworks
GroupId

GroupId

net.officefloor.server
ArtifactId

ArtifactId

officeserver_rapidoid
Last Version

Last Version

3.15.0
Release Date

Release Date

Type

Type

jar
Description

Description

Rapidoid HTTP Server
Rapidoid HTTP Server implementation

Download officeserver_rapidoid

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
net.officefloor.server : officeserver jar 3.15.0
org.rapidoid : rapidoid-web jar 5.5.4
net.officefloor.core : officecompiler jar 3.15.0

provided (3)

Group / Artifact Type Version
junit : junit jar 4.12
easymock : easymock jar 1.1
org.apache.httpcomponents : httpclient jar 4.5.9

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.server

OfficeFloor

Inversion of Coupling Control

Versions

Version
3.15.0
3.14.0
3.13.0
3.12.0
3.11.0
3.10.3
3.10.2
3.10.1
3.10.0
3.9.2
3.9.1
3.9.0
3.8.0
3.7.0
3.6.2
3.6.1
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.0