This is an automated email from the ASF dual-hosted git repository.

dbarnes pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/geode-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new dd6dedf5 GEODE-10264: remove 'connect to the server from your 
application' section (#19)
dd6dedf5 is described below

commit dd6dedf594b8bc8dfe93458781b2ec1737bacad2
Author: Max Hufnagel <[email protected]>
AuthorDate: Tue May 3 15:39:01 2022 -0700

    GEODE-10264: remove 'connect to the server from your application' section 
(#19)
---
 docs/guide/114/getting_started/intro_to_clients.html | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/docs/guide/114/getting_started/intro_to_clients.html 
b/docs/guide/114/getting_started/intro_to_clients.html
index d2be90e1..405567c6 100644
--- a/docs/guide/114/getting_started/intro_to_clients.html
+++ b/docs/guide/114/getting_started/intro_to_clients.html
@@ -2735,26 +2735,6 @@ Apache Geode that you have installed.</p>
 }
 </code></pre>
 
-<p><strong>Connect to the server from your application</strong></p>
-<pre class="highlight plaintext"><code>import 
org.apache.geode.cache.client.ClientCache;
-import org.apache.geode.cache.client.ClientCacheFactory;
-
-public class HelloWorld {
-
-  public static void main(String[] args) {
-      ClientCache cache = new ClientCacheFactory().addPoolLocator("127.0.0.1", 
10334).create();
-
-      System.out.println(cache.getDefaultPool().getLocators());
-
-      cache.close();
- }
-}
-</code></pre>
-
-<p>The information printed out should match the host and port of your Apache 
Geode instance locators and should resemble</p>
-<pre class="highlight plaintext"><code>[/127.0.0.1:10334]
-</code></pre>
-
 <p><strong>Simple Put and Get with Apache Geode Java client</strong></p>
 <pre class="highlight plaintext"><code>public static void main(String[] args) {
 ClientCache cache = new ClientCacheFactory().addPoolLocator("127.0.0.1", 
10334).create();

Reply via email to