If you use Hazelcast with Spring you can declare beans using the namespace hazelcast. When you add the namespace declaration to the element beans in the Spring context file, you can start to use the namespace shortcut hz to be used as a bean declaration. Following is an example Hazelcast configuration when integrated with Spring:

<hz:hazelcast id="instance">
    <hz:group name="dev" password="password"/>
    <hz:network port="5701" port-auto-increment="false">
        <hz:multicast enabled="false"/>
        <hz:tcp-ip enabled="true">

Please see the Spring Integration section for more information on Hazelcast-Spring integration.