Re: multithreaded beans, struts, doing it right...

2001-06-20 Thread Timothy Shadel
- 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

multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Luba Powell
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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
? 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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
- 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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Luba Powell
- 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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Dmitri Colebatch
(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

Re: multithreaded beans, struts, doing it right...

2001-06-19 Thread Russ Freeman
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