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/03/29 02:04:17 UTC
[dubbo-website] branch cn-site updated: deploy: feb4e2ed9aef134d8703dff0698e173cf7f1b0aa
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 3eee6d1046 deploy: feb4e2ed9aef134d8703dff0698e173cf7f1b0aa
3eee6d1046 is described below
commit 3eee6d1046fb4232a884bfa23c852c3e1f5f655a
Author: AlbumenJ <Al...@users.noreply.github.com>
AuthorDate: Wed Mar 29 02:04:10 2023 +0000
deploy: feb4e2ed9aef134d8703dff0698e173cf7f1b0aa
---
en/docs3-v2/java-sdk/quick-start/index.xml | 2 +-
en/docs3-v2/java-sdk/quick-start/spring-boot/index.html | 6 +++---
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/en/docs3-v2/java-sdk/quick-start/index.xml b/en/docs3-v2/java-sdk/quick-start/index.xml
index 7c69cfb913..6590266b36 100644
--- a/en/docs3-v2/java-sdk/quick-start/index.xml
+++ b/en/docs3-v2/java-sdk/quick-start/index.xml
@@ -676,7 +676,7 @@
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span> String <span style="color:#268bd2">sayHello</span><span style="color:#719e07">(</span>String name<span style="color:#719e07">);</span>
</span></span><span style="display:flex;"><span><span style="color:#719e07">}</span>
-</span></span></code></pre></div><p>In <code>GreetingsService</code>, the <code>sayHi</code> method is defined. Subsequent services published by the server and services subscribed by the consumer are all developed around the <code>GreetingsService</code> interface.</p>
+</span></span></code></pre></div><p>In <code>DemoService</code>, the <code>sayHello</code> method is defined. Subsequent services published by the server and services subscribed by the consumer are all developed around the <code>DemoService</code> interface.</p>
<h3 id="5-define-the-implementation-of-the-server">5. Define the implementation of the server</h3>
<p>After defining the service interface, you can define the corresponding implementation on the server side. Compared with the consumer side, this part of the implementation is a remote implementation, and there is no relevant information locally.</p>
<p><img src="https://cn.dubbo.apache.org/imgs/docs3-v2/java-sdk/quickstart/2023-02-08-17-59-46-image.png" alt="img"></p>
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 a74af9e196..721d5e2ef6 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=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")[0],e.parentNode.insertBefore(t,e)})()</script><meta charset=utf-8><meta name=viewport content="width=device-width,i [...]
+<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS content="INDEX, FOLLOW"><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")[0],e.parentNode.insertBefore(t,e)})()</script><meta charset=utf-8><meta name=viewport content="width=device-width,i [...]
<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link rel=preload href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css as=style><link href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js integrity="sha256-9/a [...]
<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><link href=/css/language.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- [...]
@@ -682,7 +682,7 @@
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> String <span style=color:#268bd2>sayHello</span><span style=color:#719e07>(</span>String name<span style=color:#719e07>);</span>
</span></span><span style=display:flex><span><span style=color:#719e07>}</span>
-</span></span></code></pre></div><p>In <code>GreetingsService</code>, the <code>sayHi</code> method is defined. Subsequent services published by the server and services subscribed by the consumer are all developed around the <code>GreetingsService</code> interface.</p><h3 id=5-define-the-implementation-of-the-server>5. Define the implementation of the server</h3><p>After defining the service interface, you can define the corresponding implementation on the server side. Compared with the [...]
+</span></span></code></pre></div><p>In <code>DemoService</code>, the <code>sayHello</code> method is defined. Subsequent services published by the server and services subscribed by the consumer are all developed around the <code>DemoService</code> interface.</p><h3 id=5-define-the-implementation-of-the-server>5. Define the implementation of the server</h3><p>After defining the service interface, you can define the corresponding implementation on the server side. Compared with the consume [...]
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.config.annotation.DubboService<span style=color:#719e07>;</span>
</span></span><span style=display:flex><span><span style=color:#719e07>import</span> org.apache.dubbo.springboot.demo.DemoService<span style=color:#719e07>;</span>
@@ -773,7 +773,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/overview/mannual/java-sdk/reference-manual /config/annotation/) article.</p><h2 id= [...]
-<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+ [...]
<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 73386cbbfe..16c3e62f84 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></url><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priorit [...]
\ 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></url><url><loc>https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/1/</loc><lastmod>2023-01-03T15:09:00+08:00</lastmod><changefreq>monthly</changefreq><priorit [...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index d1db55fe0a..dfa87f20e6 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-03-27T19:28:06+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-03-23T20:05:50+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-03-27T19:28:06+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-03-29T05:00:10+03:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file