title: Running Verticle from start() method
body: <p>I'm new to Vert.x and I'm a little bit confused with how to run\deploy Vert.x app.</p>
  
  <p>I'm used to write a server by having a main class with static main() method which there performs all my initial startup code, like: connecting to DB, reading configuration files, initializing internal services and eventually creating the listening socket for accepting new connections.</p>
  
  <p>For example:</p>
  
  <pre><code>public class Server {
  
     public static void main(String args[]) {
        Server server = new Server();
  
        server.run();
     }
  
     public void run() {
       // load configuration
        ....
  
      // Connect to DB
      ....
  
      // Initialize internal services
      ....
  
      // Create listening socket on server port
      ...
  
     // and more...
  }
  </code></pre>
  
  <p>now to my question:</p>
  
  <p>Vert.x forces me to make my main class extends Verticle class and override start() method
  to  initialize the listening socket.</p>
  
  <p>so now all my initialization process must be done inside this start() method.</p>
  
  <p>Does this make sense??</p>
  
  <p>and I can never run my application via command line like I'm used to but rather use the "vertex" app</p>
  
  <p>Am I missing something??</p>