Hi,
I’m using docker swarm for my projects. Some of my services are written in Java and they use Tomcat as their web service. There are several questions with my solution:
1- There is only one Tomcat web-service that is used for all my Java API. If Tomcat fails, all the APIs fail. Should we deploy more than one Tomcat for our APIs, that means every Java API has one Tomcat web-service?
2- If it is better to use several Tomcat web-service, do we have to put inside a separate docker or inside Java API?
Thanks.