BigMemory Go 4.3.6 | Product Documentation | BigMemory Go Configuration Guide | Configuring BigMemory Go | About BigMemory Go Configuration
 
About BigMemory Go Configuration
BigMemory Go supports declarative configuration via an XML configuration file, as well as programmatic configuration via class-constructor APIs. Choosing one approach over the other can be a matter of preference or a requirement, such as when an application requires a certain run-time context to determine appropriate configuration settings.
If your project permits the separation of configuration from run time use, there are advantages to the declarative approach:
*Cache configuration can be changed more easily at deployment time.
*Configuration can be centrally organized for greater visibility.
*Configuration lifecycle can be separated from application-code lifecycle.
*Configuration errors are checked at startup rather than causing an unexpected runtime error.
*If the configuration file is not provided, a default configuration is always loaded at runtime.
This guide focuses on XML declarative configuration. Programmatic configuration is explored in certain examples and is documented in the Javadoc at http://www.ehcache.org/apidocs/2.10.1/.

Copyright © 2010 - 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release