-
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Russ Freeman [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 11:24 PM
Subject: Re: multithreaded beans, struts, doing it right...
By multiple threads of activity do you mean the user has multiple windows
open? If so, perhaps
Hi folks, I have a question about building robust beans.
Context:
Building a Model-2 application with tomcat that uses a home-grown MVC
framework (probably going to replaced with struts).
My concern is over the design of my business logic beans, which are stateful
controllers. Each of my user
By multiple threads of activity do you mean the user has multiple windows
open? If so, perhaps in the user's session you could have a Map of business
logic beans instead of just one. And somehow have the client identify which
thread of activity the currenty action is part of, from there get
Subject: Re: multithreaded beans, struts, doing it right...
By multiple threads of activity do you mean the user has multiple windows
open? If so, perhaps in the user's session you could have a Map of
business
logic beans instead of just one. And somehow have the client identify
which
thread
in
your session object.
- Original Message -
From: Russ Freeman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 6:59 PM
Subject: Re: multithreaded beans, struts, doing it right...
Kind of :) In fact your solution isn't far away.
I am currently supporting
?
Cheers,
Russ
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Russ Freeman [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 11:24 PM
Subject: Re: multithreaded beans, struts, doing it right...
By multiple threads of activity do you mean
-
From: Luba Powell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 12:04 AM
Subject: Re: multithreaded beans, struts, doing it right...
user accidentally double clicks one of the
links and the same business object gets two requests, where the first
isn't
finished before
- Original Message -
From: Luba Powell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 12:04 AM
Subject: Re: multithreaded beans, struts, doing it right...
user accidentally double clicks one of the
links and the same business object gets two requests, where
(o: shit... I've just gone and re-invented the wheel..
On Wed, 20 Jun 2001 09:29, you wrote:
1) that there is some generic facility I can use to do this in tomcat
yes there is, kinda, but I dont know it will do what you need. If your
servlet implements SingleThreadedModel then tomcat will
is to at least appreciate that I need to write
*some* logic to deal with this but it seems like a valid approach.
Russ
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 12:46 AM
Subject: Re: multithreaded beans, struts
10 matches
Mail list logo