This is an automated email from the ASF dual-hosted git repository.
dbarnes pushed a commit to branch support/1.14
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/support/1.14 by this push:
new 5d2c5cdc0b GEODE-10264: remove 'connect to the server from your
application' section (#7641)
5d2c5cdc0b is described below
commit 5d2c5cdc0b8828e7cedf2006ff87dd7e1faa44dc
Author: Max Hufnagel <[email protected]>
AuthorDate: Mon May 2 17:06:35 2022 -0700
GEODE-10264: remove 'connect to the server from your application' section
(#7641)
---
.../getting_started/intro_to_clients.html.md.erb | 23 ----------------------
1 file changed, 23 deletions(-)
diff --git a/geode-docs/getting_started/intro_to_clients.html.md.erb
b/geode-docs/getting_started/intro_to_clients.html.md.erb
index c553c9a823..62ac9ea150 100644
--- a/geode-docs/getting_started/intro_to_clients.html.md.erb
+++ b/geode-docs/getting_started/intro_to_clients.html.md.erb
@@ -83,29 +83,6 @@ dependencies {
}
```
-**Connect to the server from your application**
-
-```
-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();
- }
-}
-```
-
-The information printed out should match the host and port of your
<%=vars.product_name_long%> instance locators and should resemble
-
-```
-[/127.0.0.1:10334]
-```
**Simple Put and Get with <%=vars.product_name_long%> Java client**