Do you want one static copy of your POJO available everywhere, or do you
need a unique copy of your POJO for each request or session?

-Wes

On Tue, 2008-04-29 at 20:44 -0400, Jim Kiley wrote:
> 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
> >
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to