Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI figured it out.. besc, your comment is along the right track. The review page was using the same managed bean but was ultimately using a singleton spring bean to fetch data that the user reviews and selects from (think data table with boolean checkboxes on each row). The flow is to fetch the data (bound to a singleton spring BO), selects some rows from that data (both singleton and my session spring BO get updated), go to another page, user adds related data, submits and goes to a confirmation page. The confirm page has a button to go back, which clears all the selections.
      singulars
    2. COThe users weren't hitting this button... they would get to the confirm screen and logout. Now the selections in the singleton are still there and the next user inherits them. Now that I understand this better, I see that using a singleton to fetch is bad on many other levels past the issue I see here. So, long story short, I will be changing that Spring Bean to seesion scope (along with the others). I don't think performance will be an issue... if this app has more than 3 concurrent sessions at any given time, I would be surprised.
      singulars
    3. COThis is a very good question. I agree with you by using session scope, everything work fine. My thinking was whether this will cause the JVM run out of memory if there are 100,000 users. Another thing is data source connection issue. You mention DAO thing, I assume you have declare data source connection with Spring, and then you tied it to DAO, when there are 100,000 users in the session, and each session is holding one connection. I am not sure how Spring could handle this? I'm urge to look for more info on this area.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload