This project has moved. For the latest updates, please go here.

MongoRepository: static or not?

Jan 28, 2014 at 9:03 AM
Edited Jan 30, 2014 at 7:32 AM
Hi guys,

I wonder, in a big Web Project, is it better to keep an instance of MongoRepository static or is it better to create a new one each time we want to work with it?

What is the difference in memory and speed performance in both cases?