Vert.x is a new JVM based application framework with an event driven, asynchronous programming model. With APIs available in Java, JavaScript, Ruby, Python and Groovy, developers are given complete freedom to implement their application in the language of their choice.
Starting with the core Vert.x concepts, this presentation will walk attendees through the components of a simple vert.x based application. Through this process, attendees will gain an understanding of how Vert.x:
- provides for a way to use several different languages in the same application
- takes advantage of JVMs excellent multi-core capabilities
- uses a module-based framework for packaging and hot-deployment
- communicates with other processes via a distributed event bus
- exposes an asynchronous programming model with very simple concurrency
With this presentation, viewers should gain a deep-enough understanding of Vert.x to be able to evaluate the platform for their own projects.
28. Event Bus
- simple, distributed peer-to-
peer
- pub/sub or point-to-point
- local or distributed**
- ‘data only’ with limited
number of types
Wednesday, July 24, 13
29. Event Bus
... but it’s a good idea to use
JSON!
(completely language
agnostic - we are building
services and decoupling!)
Wednesday, July 24, 13
30. “local or distributed”
BONUS:
EventBus can extend directly
to the browser
http://vertx.io/core_manual_java.html#sockjs-eventbus-bridge
Wednesday, July 24, 13
34. Encapsulation
- classpath and dependency
- classloader isolation
(but multiple instances of the
module will share
classloaders)
Wednesday, July 24, 13
35. Distributability
pushed to/loaded from:
- file system
(contained or shared)
- maven central
- bintray
http://vertx.io/mods_manual.html#how-vertx-locates-modules
Wednesday, July 24, 13