> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aseeflow.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Update from 1.0 to 2.0

ASEE Flow 2.0 moves the platform to Spring Boot 4 and to the servers and libraries of its generation. The engine, your process models and the database schema stay as they are, so most of the work is in the applications and servers around the engine. This page lists what changes from 1.0.x to 2.0 and what you do about it. The [release notes](https://docs.aseeflow.org/update/release-notes.md) list every change of a release.

## What changes

| | 1.0.x | 2.0 |
| - | - | - |
| Java | 17, 21 | 17, 21, 25 |
| Spring Boot | 3.5 | 4.1 (4.1.2 or later) |
| Spring Framework / Spring Security | 6.2 / 6.5 | 7.0 / 7.1 |
| Servlet (Jakarta EE) | 6.0 (10) | 6.1 (11) |
| Tomcat | 10.1 | 11.0 |
| WildFly | 39 | 42 |
| Quarkus | 3.27 LTS | 3.40 LTS |
| JavaScript engine (GraalJS) | 21.3 | 25.1 |
| Jackson for the engine, its REST API and Spin | 2.21 | 2.21 |
| javax variants | built next to the Jakarta artifacts | removed |

[Supported Environments](https://docs.aseeflow.org/introduction/supported-environments.md) lists the versions 2.0 is tested with.

## What stays the same

* **The database.** 2.0 uses the schema of 1.0.x, so there are no update scripts to run: a 2.0 engine opens a 1.0.x database as it is. Back the database up before the update, as before any other.
* **Your process models**, the engine's Java and REST APIs, the `org.camunda.bpm.*` packages, and the `camunda.bpm.*` properties of Run and the Spring Boot starter.
* **Script tasks.** JavaScript tasks run on GraalJS 25 with the engine settings of 1.0.x. With Nashorn compatibility on (`enableScriptEngineNashornCompatibility`), the engine sets ECMAScript 2022, so `let`, `const` and arrow functions keep working; without it, scripts get ECMAScript 2026.
* **WebAdmin's sign-in.** The login modes and their properties are those of 1.0.x, and `form` stays the default.

> [!NOTE]
>
> A rolling update, with 1.0.x and 2.0 nodes on the same database at the same time, has not been tested. Plan a short downtime and update all nodes of a cluster together.

## Distributions and Docker images

* **Install the 2.0 distribution next to the old one**, and carry your changes over into its configuration files — Run's `configuration/`, Tomcat's `conf/` and `bin/setenv`, WildFly's `standalone.xml` — rather than copying the 1.0.x files over it. Tomcat 11 and WildFly 42 come with configuration files of their own versions. A WildFly `standalone.xml` from 1.0.x does not even start on 42: it declares the Security Manager subsystem, which WildFly 42 refuses (`WFLYCTL0309`).
* **Protect the engine REST API again**, as for 1.0.x: [production hardening](https://docs.aseeflow.org/installation/production-hardening.md) applies to 2.0.
* **Run the distribution on Java 17, 21 or 25.** Run's start scripts no longer refuse a JDK above 21.
* **Docker images** have `2.0.0` tags, for example `run-2.0.0` (see [Docker](https://docs.aseeflow.org/installation/docker.md)).

## Your own Tomcat or WildFly server

If you installed the engine into a server of your own, the server moves too: the 2.0 server modules are built and tested for Tomcat 11 and WildFly 42. Install them on a server of that version, as the manual installation for [Tomcat](https://docs.aseeflow.org/installation/full/tomcat/manual.md) or [WildFly](https://docs.aseeflow.org/installation/full/jboss/manual.md) describes. The WildFly 26 modules for javax servers are gone; see [javax artifacts](#javax-artifacts).

## Your Spring Boot application

If your application embeds the engine or WebAdmin:

1. **Move to Spring Boot 4.1.2 or later, and to ASEE Flow 2.0.0.** Spring Boot's [4.0 migration guide](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide) lists what changes. Most applications meet the renamed starters (`spring-boot-starter-web` becomes `spring-boot-starter-webmvc`), `@MockitoBean` and `@MockitoSpyBean` in place of the removed `@MockBean` and `@SpyBean`, and renamed properties. OpenRewrite's [`UpgradeSpringBoot_4_0` recipe](https://docs.openrewrite.org/recipes/java/spring/boot4/upgradespringboot_4_0-community-edition) makes most of those edits. `aseeflow-bom` manages only ASEE Flow's own artifacts; Spring Boot's version list decides the rest.
2. **Move security configuration of your own to Spring Security 7**, which removes what 6.x deprecated; Spring Security's migration guide lists it. WebAdmin's own configuration is on 7 already.
3. **Check your own JSON code.** The engine, its REST API and Spin's JSON format stay on Jackson 2 (`com.fasterxml.jackson`), which Spring Boot 4.1 still manages, so code that uses Spin's JSON API does not change. Spring Boot's own JSON support, for your controllers for example, defaults to Jackson 3 (`tools.jackson`). The two coexist on the classpath; Spring Boot's migration guide says what that means for your own code.

[Version Compatibility](https://docs.aseeflow.org/user-guide/spring-boot-integration/version-compatibility.md) lists the Spring Boot versions of each ASEE Flow version.

## Your Quarkus application

The Quarkus extension of 2.0 is on Quarkus 3.40 LTS, so your application moves from 3.27 to 3.40 with it. Quarkus's migration guides from 3.28 on list what changed. The `quarkus.camunda.*` properties are unchanged. See [Version Compatibility](https://docs.aseeflow.org/user-guide/quarkus-integration/version-compatibility.md).

## javax artifacts

1.0.x built javax variants for servers that 2.0 does not support. They are removed, and `aseeflow-bom` no longer manages them. Use the Jakarta counterpart:

| Removed | Use instead |
| - | - |
| `aseeflow-webapp` | `aseeflow-webapp-jakarta` |
| `aseeflow-webapp-jboss` | `aseeflow-webapp-wildfly` |
| `aseeflow-engine-rest`, `aseeflow-engine-rest-core` | `aseeflow-engine-rest-jakarta`, `aseeflow-engine-rest-core-jakarta` |
| `aseeflow-engine-spring` (Spring 5.3) | `aseeflow-engine-spring-6` |
| `aseeflow-engine-cdi` | `aseeflow-engine-cdi-jakarta` |
| `aseeflow-ejb-client` | `aseeflow-ejb-client-jakarta` |
| `aseeflow-spin-dataformat-xml-dom` | `aseeflow-spin-dataformat-xml-dom-jakarta`, or `aseeflow-spin-dataformat-all` as before |
| `aseeflow-example-invoice` | `aseeflow-example-invoice-jakarta` |
| `aseeflow-wildfly26-modules`, `aseeflow-wildfly26-subsystem` | `aseeflow-wildfly-modules`, `aseeflow-wildfly-subsystem`, for WildFly 42 |

The EJB platform service (`aseeflow-ejb-service`) and the JCA job executor (`aseeflow-jobexecutor-ra`, `aseeflow-jobexecutor-rar`) are removed without a replacement: they served Java EE servers that start the engine through EJBs and a resource adapter. On WildFly the subsystem starts the engine and its job executor, as before.

The distributions, Run and the Spring Boot starter used only the Jakarta artifacts already.

## WebAdmin

* **`keycloak` mode no longer needs `camunda-platform-7-keycloak`.** In 1.0.x your application added that Keycloak identity provider plugin itself. The 2.0 starter contains it, rebuilt for Spring 7, so remove the dependency: the published 7.24.0 is built for Spring 6, and with it the application does not start in `keycloak` mode. The `plugin.identity.keycloak.*` properties are unchanged. See [Keycloak Authentication](https://docs.aseeflow.org/webadmin/authentication/keycloak.md).
* **The sidebar no longer links Cockpit, Tasklist and Admin.** The legacy web apps are deprecated; they still ship. Set `aseeflow.webadmin.show-legacy-apps: true` to bring the links back (see [Configuration](https://docs.aseeflow.org/webadmin/configuration.md)).
* **The session cookie is `HttpOnly` and `SameSite=Lax` by default**, in the WAR too. If your application needs the cookie on cross-site POST requests, for example from an identity provider that answers with `form_post`, set `server.servlet.session.cookie.same-site` to `none`, which needs HTTPS, or to `omitted`.
* **New: the BPMN editor**, under *Modeling › BPMN*, which the 1.0.x builds did not include.
* **New: the AI features**, the BPMN editor's AI assistant and Ops Chat, with `aseeflow-webadmin-ai` next to the starter in your own Spring Boot application (see [AI features](https://docs.aseeflow.org/webadmin/ai.md)). The WAR and the distributions do not have them. If your 1.0.2 application added Spring AI to switch on the starter's dormant AI endpoints, add `aseeflow-webadmin-ai` instead.

## Checklist

* [ ] The database backed up.
* [ ] Java 17, 21 or 25.
* [ ] Distributions: the 2.0 distribution, with your configuration carried over and [production hardening](https://docs.aseeflow.org/installation/production-hardening.md) applied.
* [ ] Your own server: Tomcat 11 or WildFly 42, with the 2.0 server modules.
* [ ] Spring Boot applications: Spring Boot 4.1.2 or later, Spring Security 7, ASEE Flow 2.0.0.
* [ ] Quarkus applications: Quarkus 3.40.
* [ ] No javax artifacts left.
* [ ] WebAdmin in `keycloak` mode: no `camunda-platform-7-keycloak` dependency.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.