Jakarta EE Components

Jakarta EE Components

The building blocks every Jakarta EE application ends up writing by hand, ready to use. No framework, no base classes.

Jakarta EE, PrimeFaces and OmniFaces cover almost everything a web application needs. Flow Logix provides the few pieces that are still missing, so you don’t write them as boilerplate in every project, and stays out of your way otherwise.

What’s included

Area What you get

Data access with JPA

Composable findAll(), findRange() and count() queries, and Data Access Objects built by delegation instead of inheritance. Type-safe native SQL queries through generics.

PrimeFaces Lazy Data Model

An injectable JPA model for PrimeFaces DataTable, with cursor pagination. It works in clustered sessions without requiring entities to be serializable.

Jakarta Faces configuration

Development mode by default, minified assets in production, development-only Facelets settings, automatic setup of OmniFaces' UnmappedResourceHandler and PrimeFaces font MIME types.

Integration testing

Arquillian deployments created from your Maven POM without any configuration, and helpers that adjust web.xml, persistence.xml and other files in test archives.

Utilities

Convert strings to any type, translate javax names to jakarta, test that objects really serialize, and read streams into strings.

Design principles

Flow Logix is not a framework. It follows the Jakarta EE design philosophy and works alongside MicroProfile, Jakarta EE, OmniFaces and PrimeFaces, aiming to be as unintrusive and automatic as possible, with the fewest requirements.

Simplicity comes first. You don’t have to inherit from base classes or implement interfaces unless absolutely necessary, and annotations are used sparingly, so they add as little cognitive load as possible.

Do I need Project Lombok?

No. The library uses Lombok internally to avoid boilerplate code, but your code doesn’t need to depend on it. That said, Lombok is very useful and highly recommended: Java now has many features that were once only available through Lombok, but Lombok still offers many that Java doesn’t.

Installation

Releases are published to Maven Central, and snapshots to the Maven Central snapshot repository.

Jakarta EE Components
<dependencies>
    <dependency>
        <groupId>com.flowlogix</groupId>
        <artifactId>flowlogix-jee</artifactId>
        <version>11.7.7</version>
    </dependency>
</dependencies>
PrimeFaces JPA Lazy Data Model
<dependencies>
    <dependency>
        <groupId>com.flowlogix</groupId>
        <artifactId>flowlogix-datamodel</artifactId>
        <version>11.7.7</version>
    </dependency>
</dependencies>
Tip
New projects created with the project starter already include these dependencies.

Compatibility

Version Java Jakarta EE

6.x and later

17 or newer

Jakarta EE 9 and later. No classifier is required.

5.x

11 or newer

Java EE 8 and Jakarta EE 8 and later. For Jakarta EE 9 and later (the jakarta.* namespace), use the jakarta Maven classifier.

Flow Logix BOM

The Flow Logix Bill of Materials declares compatible versions of all the required dependencies. It is included automatically when you use the Flow Logix Base POM. See the Maven documentation for more about BOMs.

API reference

Need a hand? Flow Logix builds and maintains these tools, and offers support and maintenance contracts with direct access to the maintainers. We can adopt them in your existing projects, or set up new ones for you.