Sample of Server-Client modules interaction using vertx publish-subscribe model.
Server imitates volatility shared source to emitt for client-side interactors via connection with message-loss safe QoS.
How to:
- Package modules with maven. Proper scripts embeded in related pom.xml.
- By default server HOST address for clients is localhost.
For distributed case submit server HOST address in 'clien/.../App.class' and 'clientDB/.../App.class' properties. - Run modules: java -jar target/<module-name>-fat.jar
- Enjoy!
Install robomongo to interact with clientDB out of box: https://robomongo.org/