サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
vertx.io
We will start from a wiki web application backed by a relational database and server-side rendering of pages; then we will evolve the application through several steps until it becomes a modern single-page application with "real-time".[1] web features. Along the way you will learn to: Design a web application with server-side rendering of pages through templates, and using a relational database fo
Nowadays, there are multiple tech stacks to build a real-time web app. What are the best choices to build real-time Angular client apps, connected to a JVM-based backend? This article describes an Angular+Vertx real-time architecture with a Proof of Concept demo app. Intro Welcome to the real-time web! It’s time to move on from traditional synchronous HTTP request/response architectures to reactiv
TL;DR: Scala support for Vert.x is here! It is based on Scala 2.12, no support for 2.11 planned all Vert.x-modules are available in a Scala flavor It’s awesome Get started here Intro The rise of Scala as one of the most important languages on the JVM caught many (me included) by surprise. This hybrid of functional and imperative paradigms struck a chord with many developers. Thanks to Scala a lot
This discovery bridge imports services from Kubernetes (or Openshift v3) into the Vert.x service discovery. Kubernetes services are mapped to Record. This bridge only supports the importation of services from kubernetes in vert.x (and not the opposite). Record are created from Kubernetes Service. The service type is deduced from the service.type label. If not set, the service is imported as unknow
Docker lets you deploy applications inside lightweight and isolated software containers. Applications run side by side in isolated Linux containers. If you never used Docker before check this online tutorial. Vert.x provides Docker images that you can use to run your applications. Two Docker images are provided: vertx/vertx4 is the base image you need to extend to run your own application vertx/ve
At the heart of Vert.x is a set of Java APIs that we call Vert.x Core Writing TCP clients and servers Writing HTTP clients and servers including support for WebSockets The Event bus Shared data - local maps and clustered distributed maps Periodic and delayed actions Deploying and undeploying Verticles Datagram Sockets DNS client File system access Virtual threads High availability Native transport
Writing Verticles We previously discussed how a verticle is the unit of deployment in vert.x. Let's look in more detail about how to write a verticle. As an example we'll write a simple TCP echo server. The server just accepts connections and any data received by it is echoed back on the connection. Copy the following into a text editor and save it as server.rb require "vertx" include Vertx @serv
public class Server extends VerticleBase { public Future<?> start() { return vertx.createHttpServer() .requestHandler(req -> req.response() .putHeader("content-type", "text/plain") .end("Hello from Vert.x!") ) .listen(8080); } } class Server : VerticleBase() { override fun start(): Future<*> { return vertx.createHttpServer() .requestHandler { req -> req.response() .putHeader("content-type", "text/
このページを最初にブックマークしてみませんか?
『Eclipse Vert.x』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く