Tutorials for nyssr.net

The tutorials show how to build and operate small services with nyssr.net. They complement the concept pages with practical, step-by-step examples.
A useful learning path
Start with the basic runtime, then add communication and services:
- Start a node and understand its plugin configuration
- Create a target that can receive messages
- Send requests and handle asynchronous responses
- Register nano services and microservices
- Use timers, observers, and the job engine for longer workflows
- Install or update software on a running node
Key idea: Learn one message flow at a time. Each tutorial adds a small capability that can be reused in a real plugin.
Choose a topic
- Node and plugin basics — create and initialize a project
- Messages and targets — send, catch, and answer messages
- Services — offer nano services and microservices
- Jobs and timers — coordinate asynchronous work
- Operations — connect nodes and install software remotely
This section is still being expanded. If a topic is missing or an example is unclear, please contact us through the forum or by email.
Start with Getting Started if you want to build a complete example project first.
Related Pages
How do I edit the settings in the Java Preferences?
With an editor!
How nodes are connected to each other
Create TCP-Channels to connect nodes
How to add an observer to a nano service
Learn how to add an Observer to a Nano Service in nyssr.net using the Record Helper or directly via the Nano Service Registry and IServiceStarter dependencies.
How to build a message
Create messages from record descriptions in XML or JSON
How to catch a message
Learn how to catch and process messages in nyssr.net Targets using Message Handlers. Covers request/response logic and setting message result codes.
How to create a microservice
Learn how to create a Microservice in nyssr.net by building a CTarget that registers itself with the Microservice Registry via a ServiceStarter.
How to create an application
Understand how to build an Application in nyssr.net: a factory microservice that creates and manages CTarget-based application instances.
How to import files into nyssr.net
Import files into distributed storage through the FileRegistry and FileStore plugins.
How to offer a nano service
Operation of a nano service
How to register a nano service
earn how to register Nano Services in nyssr.net using the Nano Service Registry, ServiceStarter, and filtering for the SYSTEM Namespace.
How to send a message
Learn how to send messages in nyssr.net to various targets: known receivers, local/remote nano services, microservices, and broadcast messages.
How to start a node
Create a node, configure it and start it
How to start a simple target
Get a target address, send and receive messages
How to use the job engine for bulk tasks
Learn how to use the Job Engine in nyssr.net to process bulk tasks (like file hashing) in parallel using multiple working threads and an owner target.
Package initialization
How we organize our java packages
How new software is installed on a node remotely
earn how to remotely install new software or update plugin configurations on a nyssr.net node using a JSON control file via the Net Software Updater plugin.
The use of plugins
How a JAR must be structured so that it can be loaded as a plugin
The use of timer messages
Learn how to use Timers in nyssr.net. Timers are messages sent to a Target after a specified time, and the tutorial shows how to create and handle them.