D
D
Dmitry2019-12-07 11:23:17
wildfly
Dmitry, 2019-12-07 11:23:17

Is it correct to use one database from different wildfly modules, but interact between modules via http?

I have several modules in wildfly. Each is responsible for some area, but in general they constitute a single service. It would be convenient for me to use one database for their work.
There is also a need to run a task from one module from another module. I would not want to do this through the database and constantly poll the database for new tasks. I would like to call another module via http and run the task. And when it is completed, it will write the result to a single database and another module will see the result.
How correctly from the point of view of architecture to do so?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question