<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國際加速解決方案。 廣告
                [原文網址](https://connect.spotware.com/docs/tutorials/lesson-1-your-first-app) [Google tutorial for Java developers](https://developers.google.com/protocol-buffers/docs/javatutorial) 讓我們使用Spotware的Open API創建您的第一個應用程序。 它將是Java中的控制臺應用程序。 所以: 1. Set up[JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html)and[Maven](https://maven.apache.org/download.cgi) 2. 使用maven創建一個新的java項目: ~~~ mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false ~~~ 1. 將項目作為maven項目導入到您喜歡的IDE中。 下面的圖片來自[Intellij IDEA](https://www.jetbrains.com/idea)但你可以使用[Eclipse](https://eclipse.org/),[NetBeans](https://netbeans.org/)或者是其他東西。 ![Import the project](https://connect.spotware.com/uploads/misc/MFA_Import.png "Import the project") ![Open the project](https://connect.spotware.com/uploads/misc/MFA_Project.png "Open the project") 2. 創建請求架構描述的方法。 此方法發出http請求并將文檔作為字符串返回。 ![Getting the schema](https://connect.spotware.com/uploads/misc/MFA_GettingSchema.png "Getting the schema") 3. OAuth身份驗證所需的其他請求.[Next lesson](https://connect.spotware.com/docs/tutorials/lesson-2-get-trading-data)將介紹如何獲取OAuth令牌并將其用于請求。 在本課中,我們將準備基礎結構對象。 讓我們根據上一步得到的模式創建java類。 對于序列化/反序列化,JSON對象將使用Jackson處理器。 ![Creating model classes](https://connect.spotware.com/uploads/misc/MFA_CreatingModelClasses.png "Creating model classes") 4. 這些類來自Open API服務器端. They use[Apache Common Lang](https://commons.apache.org/proper/commons-lang/)library and[Jackson](https://github.com/codehaus/jackson)JSON processor. 這些依賴項已添加到maven pom.xml文件中。 ![Adding dependencies](https://connect.spotware.com/uploads/misc/MFA_AddingDependencies.png "Adding dependencies") Sources of this lesson can be found at[GitHub](https://github.com/spotware/connect-java-tutorials/tree/master/Lesson%201.%20Your%20First%20App)
                  <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>

                              哎呀哎呀视频在线观看