nflow-jetty

nFlow Jetty

License

License

Categories

Categories

Jetty Container Application Servers
GroupId

GroupId

com.nitorcreations
ArtifactId

ArtifactId

nflow-jetty
Last Version

Last Version

3.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

nflow-jetty
nFlow Jetty
Project URL

Project URL

http://nflow.io
Project Organization

Project Organization

Nitor Creations

Download nflow-jetty

How to add to project

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

Dependencies

compile (19)

Group / Artifact Type Version
com.nitorcreations : nflow-rest-api jar 3.3.0
com.nitorcreations : core-utils jar 1.4
org.eclipse.jetty : jetty-server jar 9.2.14.v20151106
org.eclipse.jetty : jetty-servlet jar 9.2.14.v20151106
org.eclipse.jetty : jetty-jmx jar 9.2.14.v20151106
org.apache.cxf : cxf-rt-frontend-jaxrs jar 3.1.5
org.apache.cxf : cxf-rt-management jar 3.1.5
org.apache.cxf : cxf-rt-rs-service-description jar 3.1.5
io.swagger : swagger-jaxrs jar 1.5.7
com.fasterxml.jackson.jaxrs : jackson-jaxrs-json-provider jar 2.7.1
org.springframework : spring-web jar 4.2.5.RELEASE
org.slf4j : slf4j-api jar 1.7.18
org.slf4j : log4j-over-slf4j jar 1.7.18
org.slf4j : jcl-over-slf4j jar 1.7.18
ch.qos.logback : logback-classic jar 1.1.5
org.slf4j : jul-to-slf4j jar 1.7.18
org.apache.commons : commons-lang3 jar 3.4
com.h2database : h2 jar 1.4.191
io.dropwizard.metrics : metrics-servlets jar 3.1.2

provided (1)

Group / Artifact Type Version
com.google.code.findbugs : annotations jar 3.0.1u2

test (6)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : hamcrest-library jar 1.3
org.mockito : mockito-core jar 1.10.19
com.nitorcreations : matchers jar 1.3
org.postgresql : postgresql jar 9.4.1208.jre7
mysql : mysql-connector-java jar 5.1.38

Project Modules

There are no modules declared in this project.

nFlow is a battle-proven solution for orchestrating business processes. Depending on where you're coming from, you can view nFlow as any of the following:

Key features

  • Non-declarative — workflows are defined as code
  • Visualization — workflows can be visualized in nFlow Explorer
  • Embeddable — usually embedded as a library, but a standalone server is also provided
  • High availability — the same workflows can be processed by multiple deployments
  • Fault tolerant — automatic recovery if runtime environment crashes
  • Atomic state updates — uses and requires a relational database for atomic state updates and locking
  • Multiple databases supported — PostgreSQL, MySQL, Oracle, Microsoft SQL Server, DB2, H2
  • Open Source under EUPL

Getting Started

1 Minute Guide

Create a Maven project. Add the following to your pom.xml. nFlow is available in the Maven Central Repository.

<dependency>
  <groupId>io.nflow</groupId>
  <artifactId>nflow-jetty</artifactId>
  <version>7.2.0</version>
</dependency>

Create a class for starting nFlow in embedded Jetty using H2 memory database.

import io.nflow.jetty.StartNflow;

public class App {
  public static void main(String[] args) throws Exception {
    new StartNflow().startJetty(7500, "local", "");
  }
}

That's it! Running App in your favourite IDE will start nFlow server though without any workflow definitions. Point your browser to http://localhost:7500/nflow/ui/doc/ and you can use interactive online documentation for the nFlow REST API. Point your browser to http://localhost:7500/nflow/ui/explorer/ and you can use nFlow Explorer.

See the next sections for creating your own workflow definitions.

Note! Starting from 4.0.0 release, nFlow requires Java 8 or newer. Older releases require Java 7 or newer.

Ok, I'm interested!

For a more thorough getting started guide, configurations, license information etc. checkout the nFlow wiki pages! You can also look into a short slide deck.

Discussion and questions are welcome to our forum nflow-users in Google Groups.

com.nitorcreations

Nitor Creations

Versions

Version
3.3.0
3.2.0
3.1.1
3.1.0
3.0.0
2.0.0
1.3.0
1.2.0
1.1.0
1.0.0
0.3.1
0.3.0
0.2.0
0.1.0