サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
災害への備え
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
Time scheduling with ChimeLisiEclipse Vert.x executes periodic and delayed actions with periodic and one-shot timers. Chime is a time scheduler verticle that works on the Vert.x event bus. Read more
Data-driven Apps made easy with Vert.x 3.4.0 and headless CMS Gentics MeshJohannes SchüthI would like to share why Vert.x is not only a robust foundation for the headless Content Management System Gentics Mesh but also how it can be used to build a template-based web server. Read more
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
import io.vertx.core.AbstractVerticle; public class Server extends AbstractVerticle { public void start() { vertx.createHttpServer().requestHandler(req -> { req.response() .putHeader("content-type", "text/plain") .end("Hello from Vert.x!"); }).listen(8080); } } import io.vertx.core.AbstractVerticle class Server : AbstractVerticle() { override fun start() { vertx.createHttpServer().requestHandler {
このページを最初にブックマークしてみませんか?
『Eclipse Vert.x』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く