Let's say you have a little system you are desiging that does the following: Maintains records of doctors in a database. Let's keep it simple for this question. The doctor information is going to include name, address, etc. Would the proper approach to this be the following: 1) create class definition for doctor with name, address etc... Here is my question: 2) Whenever you want to insert a record into the database could you simply provide JDBC functionality into the Doctor class? or should you use some 'adapter' type class that does thus for you so whenever a doctor object gets created, that information is sent to the database. Any ideas would be appreciated. Thanks Ryan ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. ___________________________________________________________________________ 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
