Clearly, components are extremely useful. But if you're starting a large programming project, you may not be sure what features are the best candidates for being made into separate components. Learning how to break an application into components and classes is one of the great arts of programming, and it takes a good deal of practice and fine-tuning.
One of the most common types of components is a data-access component. Data-access components are an ideal application of component-based programming for several reasons:
Databases require extraneous details
These details include connection strings, field names, and so on, all of which can distract from the application logic and can easily be encapsulated by a well-written ...