Skip to content
Kevin Herron edited this page Oct 5, 2026 · 6 revisions

Build an OPC UA server with OpcUaServer, managed namespaces, and application-owned data. Start with Getting started and Your first server.

This guide targets 1.2.0-SNAPSHOT on Java 17, with source baseline 7faaf4f0516c. See the 1.2.0 migration guide when upgrading an existing server.

The SDK owns OPC UA service and connection machinery. Your application owns device I/O, durable storage, effective user permissions, and lifecycle resources it creates. Use a deterministic local server/client first, inspect operation results, and close Sessions, subscriptions, drivers, and security resources through their designated owners. Local tests do not establish vendor interoperability.

The foundation pages build on the complete first-server program. Later pages state which variables their Java fragments assume. Use Examples for runnable source and validation scope. A server exposes only the capabilities its application actually implements; generated model classes do not imply historian, LDS, or Push-management behavior.

Foundation

  1. Configuration: endpoints, identity validation, limits, and lifecycle.
  2. Address space: namespaces, nodes, references, and stable identities.
  3. Data access: Variables, attribute filters, reads, and writes.
  4. Security: certificates, trust, and secured endpoints.
  5. Access control: roles, user attributes, and authorization.

Live data and behavior

Further topics

Clone this wiki locally