Working With SAPUI5 Locally (Part 3): Adding More Services in Docker

In the previous project, we moved one project to docker. The idea was to move exactly the same functionality (even without touching anything within the source code). Now we’re going to add more services. Yes, I know, it looks like over-engineering (it’s exactly over-engineering), but I want to build something with different services working together. Let start.

We’re going to change a little bit of our original project. Now our front-end will only have one button. This button will increment the number of clicks, but we’re going to persist this information in a PostgreSQL database. Also, instead of incrementing the counter in the backend, our backend will emit one event to a RabbitMQ message broker. We’ll have one worker service listening to this event and this worker will persist the information. The communication between the worker and the front-end (to show the incremented value), will be via websockets. https://goo.gl/cdAf7p

Subscribe To Newsletter

Sign up for my newsletter and get the latest technology news

2019 © Craig Brown PhD. All rights reserved.