Code Your Applications

In your GemFire XD applications, you can load the installed classes either by indirectly referencing them in the code or by directly using java.lang.Class.forName.

You load resources the way you normally would, using the standard java.lang.Class.getResourceAsStream, a mechanism that allows an application to access resources defined in the classpath without knowing where or how they are stored.

You do not need to make any changes to the way code interacts with GemFire XD and its JDBC driver. An application can safely attempt to boot GemFire XD, even though it is already running, without any errors. Applications connect to GemFire XD in the usual manner.

Note: The method getResource is not supported.