Coder Social home page Coder Social logo

vert-x-core-manual-for-java's Introduction

Java API 版本的Vert.x Core 手册

本人英语水平有限,有任何问题,请加群交流 :231419585


源码在github

Vert.x Core提供的功能:

  • 编写TCP客户端和服务器
  • 编写 HTTP 客户端和服务器包括 Websocket 支持
  • 事件总线(Event bus)
  • 共享的数据-本地的map和分布式的map
  • 定时和延时运行
  • 部署和非部署 Verticles
  • Sockets
  • DNS 客户端
  • 文件系统
  • 高可用性
  • 集群

Vert.x核心功能是相当简单的 — — 你不会找到数据库访问、 授权或高级别 web 功能等,这些东西你可以在哪里找到?在这里-,Vert.x ext(扩展)。

Vert.x core 非常小,非常轻量级。只是使用你想要的部分。也是完全可嵌入在您现有的应用程序 — — 不强迫你使用特殊方式架构您的应用程序,这样你可以方向使用 Vert.x。

您可以使用任何 Vert.x 支持的其他语言的核心。这有点小酷-我们不强迫你使用 Java API ,JavaScript 或者 Ruby等都没问题 — — 毕竟,不同的语言有不同的习惯和语法,迫使Ruby 开发人员使用 Java 的语法,这会很奇怪 (举个例子)。相反,我们自动生成以 Java Api 为核心,等效、地道的每种语言。

从现在起我们会使用 core 指 Vert.x core。

如果你使用 Maven 或 Gradle,需要增加以下依赖才能使用Vert.x Core API:

  • Maven (在你的pom.xml中增加):
<dependency>
  <groupId>io.vertx</groupId>
  <artifactId>vertx-core</artifactId>
  <version>3.2.0</version>
</dependency>
  • Gradle (在您的build.gradle文件增加):
compile io.vertx:vertx-core:3.2.0

下面让我们来讨论 core 的不同概念和功能。

vert-x-core-manual-for-java's People

Contributors

gitbook-bot avatar quanke avatar samypesse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.