« Return to Thread: caching Java objects

Re: caching Java objects

by Oscar Alvarez-2 :: Rate this Message:

Reply to Author | View in Thread

Hi...

It depends on what the objects mean on your system... exist
ApplicationAware, SessionAware and RequestAware interfaces...

You decide what to use in your design.

HTH

2009/7/8 Mitch Claborn <mitch@...>

> What is the preferred method of caching arbitrary Java objects locally
> in a Struts application?  I've been making my actions implement
> ApplicationAware and storing objects in that Map.  (I think this comes
> from the ServletContext?)  Is that the best way or is there something else?
>
> Mitch
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>


--
Atentamente
Óscar Álvarez Vielma
(09) 8416 4052

 « Return to Thread: caching Java objects