How do I handle dynamically created web application instances configuration?
In some cases you may need to adapt the dynamically created web application configuration before fully started. Such configuration could be parameters such as the jvmRoute to control the sessions stickiness. Since the web application is running as a processing unit which is basically an extension of a Spring application context, you may inject references and configuration into the web application like any other Spring Bean.
Related Questions
- In my web program I can create and destroy EC2 instances dynamically. Can I monitor those instances automatically once they’re created?
- How can I know when the web application is running under DWebPro (i.e. for conditional configuration)?
- How can I use the QEngine to test my web application if its title changes dynamically?