School of hard coding

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.

2 thoughts on “Multithreading and Autowired beans

  1. Greate pieces. Keep posting such kind of information on your
    page. Im really impressed by your site.
    Hello there, You have performed an excellent job. I will definitely digg it and for my part suggest to my friends.
    I am sure they will be benefited from this site.

  2. Great web site you have here.. It’s difficult to find
    high-quality writing like yours these days. I truly appreciate people like you!
    Take care!!

Leave a Reply

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