Skip to content

relai/vertx-starters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Vert.x for Starters

This is a series of sample projects that build event-driven web applications using Vert.x.

The tutorial also shows how to develop Vert.x applications by multi-modules.

Java 8

All samples are written in Java 8 to take advantage of the lambda feature. A more in-depth discussion regarding Vert.x and lambda programming is made in the "Hello World" module.

To run the examples, make sure to install JDK 8, which is still a preview version for now. Most popular IDE's already have early support for Java 8 and Lambda. I have personally tried Eclipse and NetBeans. Bboth are decent, and NetBeans is more stable for now.

Maven Integration

The series is developed as a multi-module maven project based on vertx maven integration.

The project is structured as three modules:

   <modules>
        <module>helloworld</module>
        <module>todoapi</module>
        <module>todowebapp</module>
   </modules>  

Shared elements of sub-module pom's are extracted into the parent pom as much as possible in order to avoid duplication and inconsistency, including

  • properties for dependencies and versions,
  • common dependencies,
  • plugins for compiling, resource and packaging.

The following are useful common maven commands:

  • mvn clean To clean up
  • mvn verify To execute integration tests
  • mvn install To compile, test, package and install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published