On Tuesday 10 February 2004 17:21, Stephan Coboos wrote:

> Please have a look into the code above. 

Ok, clearer!

In each method, why not just do,

if( this.con == null )
  this.con = this.ds.getConnection();

and set it back to null, when you release the component?


> I hope I had described my problem correctly? I it is not so, please ask me.
> I thank you very much for your help.

I think I understand what you are asking; "What is the Design Pattern for 
implementing a Component Pool?"

I am going to write something on the Wiki about it... I'll post the URL when 
done.

Niclas

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

Reply via email to