title: reusing spring beans - name collisions
body: <p>What is the preffered approach for reusing other jar containing spring-annotated classes in spring (3.2) ?</p>
  
  <p>Example of a problem:
  I have a jar that has @Autowired SessionFactory, but it needs different session factory than the rest of the application (it talks to a different database)</p>
  
  <p>So, if I just put that jar in my classpath the application won't start because there are 2 beans with the same type/name. I need to have that jar isolated from the rest of the application.
  How to achieve that?</p>