You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by gi...@apache.org on 2023/02/24 03:14:51 UTC
[dubbo-website] branch cn-site updated: deploy: 6f0268c9c069441188015389efc7af709dbe3987
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new 07c4ef26b7 deploy: 6f0268c9c069441188015389efc7af709dbe3987
07c4ef26b7 is described below
commit 07c4ef26b70b127a49b10a1c69062468d437fa3b
Author: chickenlj <ch...@users.noreply.github.com>
AuthorDate: Fri Feb 24 03:14:45 2023 +0000
deploy: 6f0268c9c069441188015389efc7af709dbe3987
---
en/docs3-v2/java-sdk/quick-start/index.xml | 4 ++--
en/docs3-v2/java-sdk/quick-start/spring-boot/index.html | 8 ++++----
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/en/docs3-v2/java-sdk/quick-start/index.xml b/en/docs3-v2/java-sdk/quick-start/index.xml
index 7750f55f5d..58f7190029 100644
--- a/en/docs3-v2/java-sdk/quick-start/index.xml
+++ b/en/docs3-v2/java-sdk/quick-start/index.xml
@@ -514,7 +514,7 @@
</span></span><span style="display:flex;"><span>./mvnw.cmd clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.provider .ProviderApplication&#34;</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>Linux / MacOS:
-</span></span><span style="display:flex;"><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.provider.ProviderApplication &#34;</span>
+</span></span><span style="display:flex;"><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.provider.ProviderApplication&#34;</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>Note: You need to open an independent terminal to run, and the <span style="color:#b58900">command</span> will keep executing.
</span></span></code></pre></div><p>After executing the above command, wait for a while for the following log to appear (<code>Current Spring Boot Application is await</code>), which means that the service provider has started, indicating that the service provider can provide services externally.</p>
@@ -527,7 +527,7 @@
</span></span><span style="display:flex;"><span>./mvnw.cmd clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.consumer .ConsumerApplication&#34;</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>Linux / MacOS:
-</span></span><span style="display:flex;"><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.consumer.ConsumerApplication &#34;</span>
+</span></span><span style="display:flex;"><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;org.apache.dubbo.springboot.demo.consumer.ConsumerApplication&#34;</span>
</span></span></code></pre></div><p>After executing the above command, wait for a while for the following log (<code>Hello world</code>) to appear. The printed data is returned after the service provider processes it, marking the success of a service call.</p>
<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>2023-02-08 17:14:33.045 INFO 80740 --- [lication.main()] o.a.d.s.d.consumer.ConsumerApplication : Started ConsumerApplication in 11.052 seconds (JVM running for 31.62)
</span></span><span style="display:flex;"><span>Receive result ======&gt; Hello world
diff --git a/en/docs3-v2/java-sdk/quick-start/spring-boot/index.html b/en/docs3-v2/java-sdk/quick-start/spring-boot/index.html
index 03d06e3ce4..2e9d7439b8 100644
--- a/en/docs3-v2/java-sdk/quick-start/spring-boot/index.html
+++ b/en/docs3-v2/java-sdk/quick-start/spring-boot/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/java-sdk/quick-start/spring-boot/><link rel=canonical href=https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/quick-start/spring-boot/><script>var _hmt=_hmt||[];(function(){var e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script" [...]
+<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn href=https://cn.dubbo.apache.org/zh-cn/docs3-v2/java-sdk/quick-start/spring-boot/><link rel=canonical href=https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/quick-start/spring-boot/><script>var _hmt=_hmt||[];(function(){var e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script" [...]
<link rel=preload href=/scss/main.min.926378f2234eb1a2b24add8856e8dcfd9d7e1705d4f7faba9fa03fb33a98e04e.css as=style><link href=/scss/main.min.926378f2234eb1a2b24add8856e8dcfd9d7e1705d4f7faba9fa03fb33a98e04e.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta name=theme-color content="#326ce5"><link rel=stylesheet href=/css/feature-states.css><meta name=description content="This article will demonstrate how to quickly develop microservice applications through Dubbo x Spring Boot based on Dubbo Samples."><meta property="og:description" content="This article will demonstrate how to quickly develop microservice applications through Dubbo x Spring Boot based on Dubbo Sa [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css rel=stylesheet><script src=/js/script.js></script></head><body class="td-page td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a class=navbar-brand href=/en/><span class=navbar-logo></span><span class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="td-navbar-nav-scroll ml-md-auto" id=main_navbar [...]
@@ -64,7 +64,7 @@
</span></span><span style=display:flex><span>./mvnw.cmd clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.provider .ProviderApplication"</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>Linux / MacOS:
-</span></span><span style=display:flex><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.provider.ProviderApplication "</span>
+</span></span><span style=display:flex><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-provider -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.provider.ProviderApplication"</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>Note: You need to open an independent terminal to run, and the <span style=color:#b58900>command</span> will keep executing.
</span></span></code></pre></div><p>After executing the above command, wait for a while for the following log to appear (<code>Current Spring Boot Application is await</code>), which means that the service provider has started, indicating that the service provider can provide services externally.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display [...]
@@ -74,7 +74,7 @@
</span></span><span style=display:flex><span>./mvnw.cmd clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.consumer .ConsumerApplication"</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>Linux / MacOS:
-</span></span><span style=display:flex><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.consumer.ConsumerApplication "</span>
+</span></span><span style=display:flex><span>./mvnw clean compile exec:java -pl 1-basic/dubbo-samples-spring-boot/dubbo-samples-spring-boot-consumer -Dexec.mainClass<span style=color:#719e07>=</span><span style=color:#2aa198>"org.apache.dubbo.springboot.demo.consumer.ConsumerApplication"</span>
</span></span></code></pre></div><p>After executing the above command, wait for a while for the following log (<code>Hello world</code>) to appear. The printed data is returned after the service provider processes it, marking the success of a service call.</p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>2023-02-08 17:14:33.045 INFO [...]
</span></span><span style=display:flex><span>Receive result ======> Hello world
</span></span><span style=display:flex><span>2023-02-08 17:14:33.146 INFO 80740 --- [pool-1-thread-1].b.c.e.AwaitingNonWebApplicationListener : [Dubbo] Current Spring Boot Application is await...
@@ -271,7 +271,7 @@
</span></span></code></pre></div><p>In the <code>Task</code> class, an RPC subscription is obtained from Dubbo through <code>@DubboReference</code>, and this <code>demoService</code> can be called directly like a local call. A thread is created for the call in the <code>run</code> method.</p><h3 id=11-start-the-application>11. Start the application</h3><p>As of step 10, the code has been developed, and this section will start the entire project and verify it.</p><p><img src=/imgs/docs3-v [...]
</span></span></code></pre></div><p>Then start <code>org.apache.dubbo.samples.client.Application</code>, and wait for a while to see the log (<code>Hello world</code>) as shown in the figure below, which means that the service consumer is started and the call to the server is successfully obtained.</p><p><img src=/imgs/docs3-v2/java-sdk/quickstart/2023-02-08-18-05-02-image.png alt=img></p><div class=highlight><pre tabindex=0 style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o [...]
</span></span></code></pre></div><h2 id=further-reading>Further reading</h2><h3 id=1-dubbos-spring-configuration-introduction>1. Dubbo’s Spring configuration introduction</h3><p>The main configuration entries of Dubbo include yaml configuration content, <code>@DubboReference</code> and <code>@DubboService</code>, etc. For more details, please refer to [Annotation Configuration | Apache Dubbo](/zh-cn/docs3-v2/java-sdk/reference-manual /config/annotation/) article.</p><h2 id=more>Mor [...]
-<button class="btn btn-primary mb-4 feedback--no">No</button></div><script>const yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable [...]
+<button class="btn btn-primary mb-4 feedback--no">No</button></div><script>const yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable [...]
<a href="https://github.com/apache/dubbo-website/new/master/content/en/docs3-v2/java-sdk/quick-start/spring-boot.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matt [...]
<a href="https://github.com/apache/dubbo-website/issues/new?title=3%20-%20Dubbo%20x%20Spring%20Boot%20to%20develop%20microservice%20applications" target=_blank><i class="fab fa-github fa-fw"></i> Create an issue</a>
<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas fa-tasks fa-fw"></i> Create project issue</a></div><nav id=TableOfContents><ul><li><a href=#target>Target</a></li><li><a href=#difficulty>Difficulty</a></li><li><a href=#environmental-requirements>Environmental requirements</a></li><li><a href=#project-introduction>Project Introduction</a></li><li><a href=#rapid-deployment-directly-started-based-on-samples>Rapid deployment (directly started based on Samples)</ [...]
diff --git a/en/sitemap.xml b/en/sitemap.xml
index c188ea33a2..330585162f 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-01-02T18:18:49+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link rel="alternate" hreflang="zh-cn" href="https://cn.dubbo.apache.org/zh-cn/docs3-v2/java-sdk/faq/0/"/><xhtml:link rel="alternate" hreflang="en" href="htt [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/</loc><lastmod>2023-01-02T18:18:49+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link rel="alternate" hreflang="zh-cn" href="https://cn.dubbo.apache.org/zh-cn/docs3-v2/java-sdk/faq/0/"/><xhtml:link rel="alternate" hreflang="en" href="htt [...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index a441fe039a..49261da39d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-02-24T09:53:43+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-23T11:00:42+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-02-24T09:53:43+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-24T08:40:37+05:30</lastmod></sitemap></sitemapindex>
\ No newline at end of file