On 27 Sep 00, at 10:16, Rickard Oberg wrote:

> IMHO the connection wrapper should be recoded so that a connection is
> retrieved for each Connection call ( vaguely remember this being discussed

Hi Rickard,

I'm not quite sure what you mean by this, but...

> some while back). This will
> a) allow Connections to be gotten in setInitialContext() and reused many
> times
> b) make it impossible for beans to "steal" connections and not hand them
> back

...what if a bean "steals" a connection because it wants to keep a 
result set open across business method calls, e.g. to implement 
the "stateful session bean facade as remote scrollable cursor" 
pattern?  I'm not recommending this architecture (blech), but it's 
legal.  In this case, you wouldn't want other components reusing 
this connection, right?

-Dan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to