Consider the following scenario. I have a Spring application context with a bean whose properties should be configurable, think DataSource or MailSender>
You may want to have a look at the Spring Inspector a plug-gable component that provides programmatic access to any Spring based application at run-time. You can use Javascript to change configurations or manage the application behaviour at run-time.