@@ -0,0 +1,914 @@
+package org.palm.hazelcast.getstart;%0A%0Aimport java.util.Map;%0Aimport java.util.Queue;%0A%0Aimport com.hazelcast.client.HazelcastClient;%0Aimport com.hazelcast.client.config.ClientConfig;%0Aimport com.hazelcast.core.HazelcastInstance;%0A%0A/**%0A * %E5%90%AF%E5%8A%A8%E5%AE%A2%E6%88%B7%E7%AB%AF%EF%BC%8C%E4%BB%8E%E9%9B%86%E7%BE%A4%E6%9C%8D%E5%8A%A1%E4%B8%AD%E8%AF%BB%E5%8F%96%E6%95%B0%E6%8D%AE%E3%80%82%0A * @author chkui%0A */%0Apublic class HazelcastGetStartClient %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09ClientConfig clientConfig = new ClientConfig();%0A%09%09HazelcastInstance instance = HazelcastClient.newHazelcastClient(clientConfig);%0A%09%09Map%3CInteger, String%3E clusterMap = instance.getMap(%22MyMap%22);%0A%09%09Queue%3CString%3E clusterQueue = instance.getQueue(%22MyQueue%22);%0A%09%09%0A%09%09System.out.println(%22Map Value:%22 + clusterMap.get(1));%0A%09%09System.out.println(%22Queue Size :%22 + clusterQueue.size());%0A%09%09System.out.println(%22Queue Value 1:%22 + clusterQueue.poll());%0A%09%09System.out.println(%22Queue Value 2:%22 + clusterQueue.poll());%0A%09%09System.out.println(%22Queue Size :%22 + clusterQueue.size());%0A%09%7D%0A%7D%0A

add hazelcast demo:client getstart