How it works

State data can be stored either in memory or to a persistent data store:

The stateful failover architecture includes:

The server takes care of converting the specified state data type to and from a form suitable for persistent storage or in-memory replication. This feature is very powerful because any IDL datatype (or serializable Java class) can be used as the state type. In many cases, the most suitable state type is an IDL struct type, which can be created in the IDL editor (required when using C++ or COM components), or generated automatically from a PowerBuilder structure type by the PowerBuilder deployment process.