hazelcast / hazelcast-code-samples

Hazelcast Code Samples
www.hazelcast.org
548 stars 594 forks source link

HZ-2689: adding UCN code samples #609

Closed gareth-johnston closed 8 months ago

gareth-johnston commented 8 months ago

This PR adds a selection of code samples to exemplify the API for adding namespaces with Jar/Class resources dynamically and statically.

The code samples show how to configure a data structure (IMap) to be aware of the namespace and shows the result of the configuration by printing an incremented value.

The User Code Deployment code samples have also been marked @Deprecated in favor of the new User Code Namespaces feature.

The README.md outlines how to run the various examples and also explains some of the code.

gareth-johnston commented 8 months ago

Shouldn't README.md also be updated?

As discussed on slack, not an issue.