Is this something you want to have accessible from your view pages, or just
from your action classes?  For the most part you can deal with this in the
same way you'd deal with any other singleton or singleton-oid.  Use the good
old static singleton pattern per Josh Bloch et al, or (preferably) use
Spring to create and inject your POJO wherever you need it.

jk

On Tue, Apr 29, 2008 at 7:55 PM, Frans Thamura <[EMAIL PROTECTED]> wrote:

> hi all
>
> i just get an idea to make one of my class a POJO will be recognized
> globally inside S2 environment
>
> so i get the values from this POJO, such as username, password all across
> application
>
> anyone can help, what is the best way to implement this?
>
> F
>



-- 
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com

Reply via email to