Inscrit le: 21 Juin 2018
|Posté le: Jeu 28 Juin - 14:18 (2018) Sujet du message: problem on designing the application
I am using Hibernate in my application and now currently i am using Session per operation anti-pattern.
I have several threads in my application which gets created time to time and load new rows in to database. While the threads are working, i have another pages that should read the same data, I can not create same session for the threads and the user requested pages, so i get two different disjoint places where i get to read the same data, one place where data is loaded and another place where i need to read the same data, so how should i modify my anti-pattern design to another design where i can create session per request and session per thread.
I didn't find the right solution from the Internet.
Web Video Animation Studio