dimanche 7 décembre 2014

Create new Bean for every user in Spring Hibernate


Vote count:

0




I have a bean in which i want to store data of all logged in users. Which means several instance of this bean holding different data.


I have tried adding @Scope(value = "session") for the bean, but that did not help, bean still stores same data for different sessions/users.


How do i achieve this, can you please provide/refer to some code example, i am beginner in design of web application.



asked 42 secs ago

Mohit

123






Create new Bean for every user in Spring Hibernate

Aucun commentaire:

Enregistrer un commentaire