Hi,
one advantage is that when you undeploy the main verticle, then it
will cascade undeploy all the verticles it deployed.
Also sometimes your application need to do some configuration loading
or other non business tasks and this main verticle can take care of
this for the other verticles.
Julien
On Wed, May 5, 2021 at 10:26 PM Eric McNeill <
eric.m...@gmail.com> wrote:
>
> I'm new to Vert.x and going through the Vert.x in Action book, which says "the typical way to deploy an application composed of verticles is as follows: 1. Deploy a main verticle. 2. The main verticle deploys other verticles..."
>
> What's the practical advantage of structuring an application like this?
>
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
vertx+un...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/vertx/cbabcca2-96a3-4686-b903-32b954781e6dn%40googlegroups.com.