Nithin
Nithin

Reputation: 338

What is the difference between running a vertx verticle and deploying a verticle through another verticle container?

{ vertx run vertcle1.groovy}

{container.deployVerticle("verticle1.groovy"}

What happens in the background when these two statements are executed?

Upvotes: 5

Views: 798

Answers (1)

jozh
jozh

Reputation: 2692

1st command runs another JVM

2nd loads verticle in a separate classloader but inside current vertx process

Upvotes: 5

Related Questions