Skip to Content
0
Former Member
May 13, 2008 at 06:57 PM

Caching in Web Dynpro Java

16 Views

Hi Experts,

I am trying to develop a web dynpro for java application based on RFC model.

I am using an RFC that brings the Countries and States from the R/3 and will be used as dropdowns in the views controllers.

The question is:

I would like to cache the Countries and States in my web dynpro application. The idea is not to execute the model everytime. The model should be executed only once. I would like to store these countries and states in a local java dictionary or etc. and use them for UI element designing.

Is there any way to do this in Web Dynpro Java? I would like to follow a better approach to avoid performance problems.

I do not want to follow this approach: executing the model in the wdInit method of the controller. Executing this model in this method also causes performance problems. Because the model is brining approx 1540 records from R/3.

Please advice.