Hi,

I have a general question about getting connections and passing connections
(as parameters to methods).

I noticed in the Pet Store example that a connection is passed to
UUIDGenerator rather than being created within the object, whereas every
other DAO gets and releases their connections per method (generally).

When would you choose to pass a connection rather than "get" one?  Is it
better to pass a connection around as much as possible?

Thanks,

Steve.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to