Skip to main content

8 docs tagged with "JNW"

View All Tags

Generate code with JNW Toolkit

To reduce the amount of boilerplate code required to write Task Processors for the Java Native Worker (JNW), JNW Toolkit (or jnw-toolkit) offers several annotation processors. The article provides basic instructions on using them in a project.

Java Native Worker

The Java native mechanism enables you to write and deploy custom pure Java-based Workers with any libraries without additional loading or linking.

JNW Toolkit overview

JNW Toolkit is a collection of libraries that simplify development with the Java Native Worker (JNW). Each library can be used independently and implements some specific feature that can be used when needed and ignored when it is not.

Migrate AI DW project based on ODF 2 to JNW

The article delves into the technical specifics of migrating an AI Digital Worker (AI DW) project built with the ODF 2 framework to the solution offered by the Java Native Worker (JNW).

Test JNW-based tasks

The worker-task-test library is a task-testing framework based on the Java Native Worker (JNW) approach. The library provides functions to configure and run tasks with different types of input data (for example, empty input or with single and multiple rows) or execute a chain of tasks and contains a convenient assertion mechanism.

Use ODF 2 Data Stores in Java Native Worker

If your project is based on the ODF 2 framework, it uses automatically named Data Stores. Names of those Data Stores are created using the pattern that contains the code and version of the AI Agent or AI Digital Worker (AI DW) to which they belong. The approach allows having multiple versions of the same AI DW to run on the same Control Tower without interference and to avoid potential conflicts with Data Stores of other AI DWs.