This is no different that creating a new collection everytime you want to add something to the collection -- it doesn't make sense to do that.
Object factory for MyBean instances.
The TopicSubscriber receives messages from the message server one at a time (serially).
These messages are pushed from the message server to the TopicSubscriber
asynchronously, which means that the TopicSubscriber does not have to poll the message
server for messages. In our example, each chat client will receive any message published
by any of the other chat clients. When a user enters text at the command line, the text
message is delivered to all other chat clients that subscribe to the same topic.