cancel
Showing results for 
Search instead for 
Did you mean: 

Beans loses data stored

Former Member
0 Kudos

Hello,

i'm developing a java application in EP 5.0 and i'm using Beans and jsp.

When i load the iview, there are 2 dropdown list box filled with the data stored in the beans. These beans are filled throught a BAPI.When i make a selection in the dropdown list, and i press a load button a tableview is filled with data.But Sometimes the dropdown list box loses the data stored and appears empty, without data

Somebody can tell why this dropdown appears empty??, the bean loses the data??? have caducity the beans???

In the .jsp i'm using the scope option APPLICATION.

Thanks. I wait your help!!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

i think the reason the beans lose the data could be that the server needs resources and empties the beans to catch resources.Is that possible??

And another question, how can i manage the cache or the resources that my pages need?? an dhow can i manage the users that access to this pages??? I ' thing that the reason that the system needs resources might be that many users access to the pages at the same time...

Can somebody help me???

Former Member
0 Kudos

Hi,

well, normally the bean should not lose its data. Please check the following:

- Do you refill the bean on every request (i.e. re-execute the BAPI call)?

- Do you explicitely create a new bean and store it in the user's context with the same name?

And as usual, some code excerpts would be helpful.

Regards,

Dominik