The simple "Hello World" application is a programming standard. Here is a DDS version of "Hello World". It consists of two applications: one application that publishes a simple string message Topic (the data contains the string "hello world!"); and one application that subscribes to this topic.
Because of the flexible DDS infrastructure, you can run any number of publishers and subscribers, and they can be run on any machine on the LAN. The applications will automatically discover one another, and the publishers will send data to all subscribers.
It is also possible to mix programming languages, for example: publishing from C++ to C.
Take a look at the source code here:
- Hello World Example in C
- Hello World Example in C++
- Hello World Example in C#
- Hello World Example in Java