Free Sample
+ Collection

Instant Vert.x

Simone Scarduzio

A kick-start for rapid development of asynchronous network applications using the Vert.x framework
RRP $14.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783282913
Paperback54 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Implement parallel programming, without the hassle of traditional concurrency models
  • Find easy asynchronous API for networking, filesystems, message passing, and clustering
  • Interact with solid Java libraries such as JDBC and JPA from your modules written in any supported language through the eventbus

Who This Book Is For

This book is great for developers new to asynchronous programming. It’s assumed that you will have some experience in JavaScript and the use of terminal and HTML. Many of the same basic concepts of Node.js can be reused.

Table of Contents

Chapter 1: Instant Vert.x
So, what is Vert.x?
Quick start – creating your first web server
Quick start – IRC-style chat with TCP server and event bus
Top 8 features you need to know about
People and places you should get to know

What You Will Learn

  • Create a simple yet efficient web server using RouteMatcher
  • Work out what language to use and when
  • Add a transport layer security (SSL) to TCP/HTTP servers and clients
  • Build an asynchronous REST client
  • Write a modern, cross-browser, event-driven web application
  • Discover the best way to cache content
  • Set up shared data
  • Set up a cluster of Vert.x nodes
  • Tweak cluster and shared data

In Detail

In traditional concurrent programming, it’s hard to achieve accuracy and even harder to achieve performance. Vert.x has a revolutionary approach that takes care of all the thread orchestration, message passing, and shared data in the framework. Deadlocks? Synchronization? Thread pool management? These are now problems of the past.

Instant Vert.x Starter is a practical, hands-on guide that provides you with a number of clear, step-by-step examples, which will help you to get the best out of the Vert.x platform and asynchronous programming in general.

This book gives an overview of the advantages of asynchronous programming, especially the Vert.x concurrency model. You will learn how to properly set up your environment with all the necessary tools to get you going with the authentic JVM-polyglot experience with Vert.x. After basic examples in JavaScript, Ruby, Python, Groovy, Java, we’ll dig deeper into more real tasks using JavaScript.

With Instant Vert.x, you will learn everything you need to know to be an independent web application developer, ready to create real-world web applications in no time.


Read More