Multithreading and Autowired beans

Today I learned you can pass beans by reference and use them in multiple threads without running into issues. I’m not sure if this is the proper way of handling spring access to the database via multiple threads. Nonetheless, it’s much better than auto wiring each thread to become a bean.

0 comments on “Multithreading and Autowired beansAdd yours →

Leave a Reply

Your email address will not be published. Required fields are marked *