<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 使用*Kotlin*進行服務端開發 Kotlin非常適合于開發服務端應用,讓你能寫出更簡潔生動的代碼,同時又能保持完全與已有 Java 技術棧兼容和一個平滑的學習曲線: * **富有表現力**:Kotlin 創新的語言特性,比如它對[類型安全構建器](/docs/reference/type-safe-builders.html)以及[代理屬性](/docs/reference/delegated-properties.html)的支持,能幫助構建強大且易用的抽象。 * **可伸縮性**:Kotlin 支持[協同](/docs/reference/coroutines.html)來幫助構建服務端應用,以適度的硬件需求支持大規模數量的客戶端。 * **互操作性**: Kotlin 與所有基于 Java 的框架完全和睦相處,讓你在保留熟悉的技術棧的同時又能從一個更現代的語言中獲益的。 * **遷移**: Kotmin 支持漸進,逐步把大型代碼庫從 Java 遷移到 Kotlin。你可以用 Kotlin 書寫新代碼并在系統中保留已有的 Java 部分。 * **工具**:除了出色的 IDE 支持以外,Kolin 還在 IntelliJ IDEA Ultimate 插件中提供特定的框架工具(例如 Spring) * **學習曲線**:對于 Java 開發者來說 Kotlin 入門非常容易。首先 Kotlin 插件中包含了 Java 到 Kotlin 的自動轉換器。[Kotlin Koans](/docs/tutorials/koans.html) 通過一系列交互提供語言關鍵特性的向導。 ## Kotlin 的服務端框架開發 * 從版本 5.0 開始,[Spring](https://spring.io) 利用 Kotlin 的語言特性提供[更簡潔的 API](https://spring.io/blog/2017/01/04/introducing-kotlin-support-in-spring-framework-5-0)。[在線項目生成器](https://start.spring.io/#!language=kotlin)允許快速生成新的 Kotlin 項目。 * [Vert.x](http://vertx.io),用于在 JVM 上構建反應式 Web 應用的框架,為 Kotlin 提供了[專門的支持](https://github.com/vert-x3/vertx-lang-kotlin),包括[完整的文檔](http://vertx.io/docs/vertx-core/kotlin/) * [Ktor](https://github.com/kotlin/ktor) 是一個由 Jetbrains 創建的 Kotlin 本地 Web 框架,利用協同實現高伸縮、易用和符合自然語言的 API。 * [kotlinx.html](https://github.com/kotlin/kotlinx.html) 是一種能在 Web 應用中構建 HTML 的 DSL。它為像 JSP 和 FreeMarker 這樣的傳統模板系統提供可替代的方案。 * 對持久化提供可選項,包括直接的 JDBC 訪問、JPA、通過相應的 Java 驅動使用 NoSQL 數據庫。對于 JPA,[kotlin-jpa 編譯器插件](/docs/reference/compiler-plugins.html#kotlin-jpa-compiler-plugin)調整 Kotlin 編譯的類為符合框架的要求。 ## 部署 Kotlin 服務端應用 Kotlin 應用能夠部署到任何支持 Java Web 應用的主機中,包括亞馬遜 Web 服務,谷哥云平臺以及其它容器。 [這個博客](https://jkutner.github.io/2017/04/10/kotlin-heroku-ktor.html)為在 [Heroku](https://www.heroku.com) 上部署 Kotlin 應用提供了一個向導。 AWS 實驗室提供的一個[示例項目](https://github.com/awslabs/serverless-photo-recognition)展示了使用 Kotlin 來寫 [AWS Lambda](https://aws.amazon.com/lambda/) 函數。 ## Kotlin 服務端的使用者 [Corda](https://www.corda.net/2017/01/10/kotlin/) 是一個開源分類分發平臺,由大銀行們提供支持,完全基于 Kotlin 構建。 [JetBrains 帳戶](https://account.jetbrains.com/)系統負責 JetBrains 全部的許可證銷售及驗證處理,100% 以 Kotlin 開發并且自 2015 年運行于生產環境以來沒有重大的問題。 ## 下一步 * [用 Http Servlet 創建 Web 應用](/docs/tutorials/httpservlets.html)和[用 Spring Boot 創建 RESTful Web 服務](/docs/tutorials/spring-boot-restful.html)教程向你展示如何構建并運行很小的 Kotlin Web 應用。 * 對于更深入的語言介紹,了解本站點的[參考文檔](/docs/reference/index.html)和[Kotlin Koans](/docs/tutorials/koans.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看