> only "4 additional bytes being used on the stack"
the four bytes used to store the reference of the reference type on the
stack (refer java virtual machine spec for more details, but AFAIK, it uses
four bytes for all the non-primitive types).

also, the proposed 'gateway' would further enable loose coupling between the
objects. further, it can be subclassed to provide a different functionality
(say to persist to file system instead of database).

btw, how does  'making sure all connections are closed in finally block'
happen? especially if the persistence code is strewn across all source
files?

Cheers,
Manav.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to