Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jvx:common:util:vertx [2018/02/02 11:11]
admin created
jvx:common:util:vertx [2020/06/15 14:44] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: How-to use Vert.x~~+~~Title: How to Use Vert.x~~
  
 The integration of JVx in a [[https://​www.vertx.io|Vert.x]] environment is very easy because JVx has a ready-to-use connector. Firstly, you have to start a Vert.x server (HttpServer or NetServer). We provide a simple class that starts a server and automatically uses JVx: The integration of JVx in a [[https://​www.vertx.io|Vert.x]] environment is very easy because JVx has a ready-to-use connector. Firstly, you have to start a Vert.x server (HttpServer or NetServer). We provide a simple class that starts a server and automatically uses JVx:
Line 12: Line 12:
 Set Configuration.basedir to the directory that contains your rad directory. This is important, otherwise JVx does not find your application(s). The rad directory structure is as usual. Set Configuration.basedir to the directory that contains your rad directory. This is important, otherwise JVx does not find your application(s). The rad directory structure is as usual.
  
-In your client application, ​simple ​use NetSocketConnection if you are using NetSocketServer or JVx' standard HttpConnection if you're using HttpServer.+In your client application, ​simply ​use NetSocketConnection if you are using NetSocketServer or JVx' standard HttpConnection if you're using HttpServer.
  
 == Example == == Example ==
  
 +<file java>
 NetSocketConnection con = new NetSocketConnection(<​ip or hostname>​);​ NetSocketConnection con = new NetSocketConnection(<​ip or hostname>​);​
                    
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information