Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
Codename One Backend API
427 documented types across 28 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 shared | Codename 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 shared | Mapping annotations for managed database persistence. |
com.codename1.backend | The 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.annotations | Annotations that turn an ordinary class into an HTTP or websocket endpoint. |
com.codename1.backend.aws | Amazon Web Services from a backend: request signing, credentials, and S3. |
com.codename1.backend.mcp | A Model Context Protocol server inside the backend, so an agent can call a running server’s tools over HTTP. |
com.codename1.backend.metrics | Metrics for a backend: counters, gauges and histograms named after the OpenTelemetry semantic conventions. |
com.codename1.backend.orm | The build-time ORM on the server: entity classes in, typed data access objects out. |
com.codename1.backend.otel | OpenTelemetry tracing and metrics for a backend, exported over OTLP/HTTP without an OpenTelemetry library. |
com.codename1.backend.sql | The database engines a backend talks to, and what they spell differently. |
com.codename1.orm.session shared | Managed 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 | |
java.util.concurrent | |
java.util.concurrent.atomic shared | |
java.util.function shared | |
java.util.stream shared |