We have a web app developed with Tomcat. We would like to add some vert.x type features to the app (real time features, accessing rest services in a non blocking way, etc).
I am trying to think of a good way to take an existing servlet deployment and integrate it, and continue its development using vert.x
Here is what I have come up with:
1) run tomcat in a separate JVM than vert.x , and use vertx as a proxy to tomcat for the elements that should stay in tomcat. Then just build out any applicable new features in vert.x.
2) Somehow run them both in the same JVM. This could be
implemented as an embedded tomcat (but this seems like it would
require tomcat to listen on another port, which might be a problem).
3) Create a servlet worker vertice that handles the servelt
api as a worker verticle so that vert.x can directly run a servlet.
This option sounds cool, but is probably way more work than it is
worth (unless someone has already done this)
So, option #1 seems to be the best option. Any other ideas.
-Adam
--
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.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/c7b7be2c-56ea-4473-8d1c-f2e1cc31d2a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Usually a front end accelerator proxy will not be a java program (or ruby or python program for that matter) since it is not good to run the app server as root to be able to bind to port 80 and 443.
--
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.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/b4e10251-682d-4407-b31e-fa8c0832611c%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/5371970f-b5d7-416d-926f-f733d0520e19%40googlegroups.com.
That is true, however a front end web server usually will have much less features enabled and is a more "standard" piece of software.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/916a738b-0b16-4010-8630-d71db99e5622%40googlegroups.com.
There is another thing co keep in mind. Due to some bug vertx is quite slow with ssl, so it might make anyhow sense to use Nginx as a proxy...
https://github.com/vert-x3/issues/issues/62
--
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.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/5485ddad-6ea5-4d6a-a46e-331c72e6932a%40googlegroups.com.