For examples, I want to prepares some data for dropbox, such as Countries.

1. In Seam 2/CDI, there is a Factory or Produces annotion, how to create such a Bean in Spring(in Java config class) at runtime?

2. How to update it at runtime, in seam and CDI, it is easy to use Event to update the Bean, how to implement this in Spring?