Either your own singleton, or ServletContext. ServletContext is essentially a 
designated place for app-scoped objects in a webapp. 

Of course if you have Tapestry or Spring (that are themselves internally 
attached to ServletContext), you can use those for ServerRuntime access via 
injection.

Andrus

On Feb 28, 2013, at 5:43 PM, Michael Gentry <[email protected]> wrote:

> Is there an existing place (class) in 3.1 to stuff a ServerRuntime instance
> for global use or is it expected that you'll create a separate class to
> hold a static instance variable of ServerRuntime?
> 
> Thanks,
> 
> mrg

Reply via email to