On Wed, 2008-04-30 at 08:01 +0700, Frans Thamura wrote:
> On Wed, Apr 30, 2008 at 7:51 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
> 
> > 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?
> >
> 
> i want this pojo available  in my context (only inside current .war).
> 
> i have a generic action support implementation, i use spring, and the aware
> is implement persistance aware
> 
> do i have to implement another persistance aware, and this aware connect to
> the spring + resourcebundle that i want to be injected as global variable
> 
> f

Frans,

This really doesn't answer my question... What I am asking is this - If
I make a POJO -

public class WanTii {
  private String username;
  ...
  getters/setters
}

And, when my app starts up, I create a copy of this POJO and set
username to "wesw." Then assuming this POJO is injected in all actions
(even for other users) getUsername() calls will return "wesw." 

Or, do you want a unique copy of the POJO so that each user will see
their own username?

-Wes


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

Reply via email to