Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

Codename One Backend API

336 documented types across 26 packages. Search the API from the site search, or download the whole backend reference as a zip.

Packages marked shared are the same classes the client uses, compiled into the server as well.

com.codename1.annotations sharedCodename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment – e.g. opting individual call sites out of debug info or null/array-bounds checks, declaring asynchronous methods, or forcing a class to be treated as concrete during devirtualization.
com.codename1.annotations.db sharedMapping annotations for managed database persistence.
com.codename1.backendThe Codename One backend runtime: the server side of an application, written in the same Java as the app and compiled to a native server binary.
com.codename1.backend.annotationsAnnotations that turn an ordinary class into an HTTP or websocket endpoint.
com.codename1.backend.awsAmazon Web Services from a backend: request signing, credentials, and S3.
com.codename1.backend.ormThe build-time ORM on the server: entity classes in, typed data access objects out.
com.codename1.backend.otelOpenTelemetry tracing for a backend, exported over OTLP/HTTP without an OpenTelemetry library.
com.codename1.backend.sqlThe database engines a backend talks to, and what they spell differently.
com.codename1.orm.session sharedManaged persistence contexts and queries for the client and backend ORMs.
java.io shared
java.lang shared
java.lang.annotation shared
java.lang.invoke shared
java.lang.ref shared
java.lang.reflect shared
java.net shared
java.nio.charset shared
java.text shared
java.time shared
java.time.format shared
java.time.temporal shared
java.util shared
java.util.concurrent shared
java.util.concurrent.atomic shared
java.util.function shared
java.util.stream shared