On Wed, 2006-03-22 at 07:01 -0500, Srinath Perera wrote:
> Hi Eran;
> 
> IMHO Stateless does not talk only about across multiple invocations,
> just like EJB it simply say user should not be looking at the states
> on the Handler anytime.

+1.

> On 3/21/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
> >
> > I have not kept this attribute across multiple invocations of the same
> > handler. Its *within* one invocation of that handler.

Are you keeping an instance var that holds some value across two or more
methods in the same handler? That is, do you use an instance var to pass
some state from the main method to other methods? If so that will lead
to problems and can easily be fixed with params.

If not I'm confused what the offending thing is; can someone point out
the code please.

> > Anyway, if this leads to synchronization issues, let me keep this in the
> > message context.

That'll work; of course.

Sanjiva.


Reply via email to