tree: 0ed8e7678dfdca9e774de7c8150edf090ea306ae [path history] [tgz]
  1. config/
  2. memcached/
  3. redis/
  4. rest/
  5. sql/
  6. src/
  7. DEVNOTES.txt
  8. pom-standalone-lgpl.xml
  9. pom-standalone.xml
  10. pom.xml
  11. README-LGPL.txt
  12. README-slim.txt
  13. README.md
  14. README.txt
examples/README.md

Apache Ignite Examples

This module contains examples of how to run Apache Ignite and Apache Ignite with 3rd party components.

Instructions on how to start examples can be found in README.txt.

How to start examples in the developer's environment, please see DEVNOTES.txt.

Running examples on JDK 9/10/11

Ignite uses proprietary SDK APIs that are not available by default. See also How to run Ignite on JDK 9,10 and 11

To set up local IDE to easier access to examples, it is possible to add following options as default for all applications

--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED --illegal-access=permit

For example, for IntelliJ IDEA it is possible to use Application Templates.

Use ‘Run’ -> ‘Edit Configuration’ menu.

Contributing to Examples

Notice When updating classpath of examples and in case any modifications required in pom.xml please make sure that corresponding changes were applied to

These pom files are finalized during release and placed to examples folder with these examples code.