What is the difference between managed tomcat and embedded tomcat?

I'm not sure I understand the difference between these two types of cats (built-in and managed).

I am going to configure arquillian test for my project on tomcat, and I need to choose between built-in tomcat or managed tomcat (since there are different parameters and ppom.xml dependencies). Please tell me what is the difference and which one should I choose to perform my Arkillian tests.

+4
source share
1 answer

I found the answer from the Arquillian Testing Guide.

Embedded containers: Arquillian will start for you during the test process and shutdown after running the test on a single JVM as a test case.

Managed containers: Arquillian will start for you during the test process and exit after the test starts, but will be launched in another JVM

Remote containers: they are supposed to run before the test and the deployments and completed tests will simply be sent

+7
source

Source: https://habr.com/ru/post/1480710/


All Articles