Created
February 14, 2018 09:44
-
-
Save LIttleAncientForestKami/525c9b6ae137e9e32458643504a1a4d7 to your computer and use it in GitHub Desktop.
Hazelcast training
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.9.xsd" | |
xmlns="http://www.hazelcast.com/schema/config" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<network> | |
<join> | |
<!-- For trainings everyone should create his/her own cluster, therefore | |
multicast is disabled and other nodes are only searched for on localhost --> | |
<multicast enabled="false"/> | |
<tcp-ip enabled="true"> | |
<interface>127.0.0.1</interface> | |
</tcp-ip> | |
</join> | |
</network> | |
</hazelcast> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hazelcast; | |
public class Main { | |
public static void main(String[] args) { | |
// Add necessary code to start up a Hazelcast instance and | |
// run the application multiple times to cluster them up | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.hazelcast</groupId> | |
<artifactId>lab1</artifactId> | |
<version>1.0</version> | |
<parent> | |
<artifactId>essentials-training-parent</artifactId> | |
<groupId>com.hazelcast</groupId> | |
<version>1.0</version> | |
</parent> | |
<dependencies> | |
<!-- Add the Hazelcast dependency --> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment