Re: [staf-users] STAF Design questions

2011-09-26 Thread Sharon Lucas
-7313 From: clayton neal To: Sharon Lucas/Austin/IBM@IBMUS, Date: 09/26/2011 02:04 PM Subject:Re: [staf-users] STAF Design questions Hiya, Actually I have another question about ResourcePool service Does it persist all resource entries? So that if the service is stopped

Re: [staf-users] STAF Design questions

2011-09-26 Thread Sharon Lucas
PM Subject: Re: [staf-users] STAF Design questions Ah ok. So my service class needs to be designed as though acceptRequest can be called on multiple threads? I'll come back to you about second point! From: Sharon Lucas To: clayton neal Cc: "staf-users@lists.sourceforge.ne

Re: [staf-users] STAF Design questions

2011-09-26 Thread clayton neal
September 2011, 18:37 Subject: Re: [staf-users] STAF Design questions Threads are not passed onto your service.  STAF handles thread management for all service requests (not just those for your custom service) and is multi-threaded so acceptRequest will be called on multiple threads. Since

Re: [staf-users] STAF Design questions

2011-09-26 Thread Sharon Lucas
ate: 09/26/2011 12:25 PM Subject: Re: [staf-users] STAF Design questions Hiya, Thanks for the reply. For point 1 STAF has many threads to handle requests (good), but how are these passed onto my service? I mean if i develop a new service, and then fire 1000 requests to it per minute,

Re: [staf-users] STAF Design questions

2011-09-26 Thread clayton neal
y But when the service class entry point creates an instance of the second class i get this error Thanks, Clayton From: Sharon Lucas To: clayton neal Cc: "staf-users@lists.sourceforge.net" Sent: Monday, 26 September 2011, 17:46 Subject: Re: [s

Re: [staf-users] STAF Design questions

2011-09-26 Thread Sharon Lucas
Hi Clayton, Welcome to the STAF project. Here are answers to your questions: 1. If I were to write a new STAF service, how are requests to that service managed? I guess there are placed on the handle queue, but does STAF create many threads to handle them? Is there any control of threading to