title: spring wiring, singleton versus prototype
body: <p>just reading up on spring, and when using DI in spring, if you set the bean to be a singleton (default), then a single instance of the class will be 'dispensed', while prototype forces a new instance each time.</p>
  
  <p>What are the ramifications of having the same instance dispensed by the container each time?
  does that mean there will be shared state?</p>
  
  <p>i.e. if the instance is modified somewhere, all future object creations will actually be getting a 'dirty' object and not a 'new' one?</p>