Lightweight Configuration

Simple properties-based configuration with sensible defaults—no XML boilerplate.

Properties Files

Standard Java properties files for all configuration. Familiar format, easy to read, and simple to manage.

Sensible Defaults

Every setting has a sensible default value. Only override what you need—your app runs with zero configuration.

Environment Variables

Override any property with environment variables for container and cloud deployments without changing files.

Runtime Overrides

Change configuration at runtime through the Application API. Adjust settings without restarting your server.

Type-Safe Access

Retrieve configuration values as the correct type—strings, integers, booleans, durations—with compile-time safety.

Zero Boilerplate

No XML schemas, no annotation processors, no configuration classes. Just a properties file and you're done.

Configuration Options

Configure your application with a simple properties file. Only override what you need—sensible defaults handle the rest.

Java
# oorian.properties

# Server configuration
oorian.port=8080
oorian.context.path=/myapp

# Session settings
oorian.session.idle.timeout=30m
oorian.session.absolute.timeout=8h

# Communication mode (ajax, sse, websocket)
oorian.default.communication=ajax

# Security
oorian.csrf.enabled=true
oorian.secure.cookies=true

# Monitoring
oorian.monitor.enabled=true
oorian.monitor.health.endpoint=/health

Benefits

Convention over Configuration

Oorian follows the principle of convention over configuration. Sensible defaults mean most applications need little or no explicit configuration to get started.

No XML

No verbose XML configuration files to maintain. A simple properties file is all you need—readable, diffable, and easy to manage in version control.

Environment-Aware

Override any property with environment variables for seamless deployment across development, staging, and production environments.

Runtime Changes

Adjust configuration values at runtime through the Application API without restarting your server. Ideal for tuning performance and toggling features.

Documented Defaults

Every configuration property is documented with its default value, so you always know the baseline behavior and only change what matters.