Skip to Content
0
Former Member
Apr 23, 2009 at 08:02 AM

Concept similar to ServletContext available for WD?

39 Views

Hi,

in standard J2EE web applications there is the ServletContext (als known as the predefined JSP-variable application) which can hold application specific data that can be accessed by any user session as long as the web application is running. In J2EE web apps I frequently use the ServletContext as a shared cache for certain data read from a database.

Now I wonder if there is something similar available for WD java applications.

My understanding is that a controller context within the root component of the WD application does not do the job, because the root component is instantiated on a per session basis.

Is there any concept similar to a ServletContext available for WD applications?

If not is there a best practice how to simulate such a concept?

Regards,

Sven