Chapter 14
Accessing Databases
Applications often need to access databases to store and retrieve various kinds of data. A database (http://en.wikipedia.org/wiki/Database) is an organized collection of data. Although there are many kinds of databases (such as hierarchical, object-oriented, and relational), relational databases, which organize data into tables that can be related to each other, are common.
Note In a relational database, each row stores a single item (such as an employee) and each column stores a single item attribute (such as an employee’s name).
Except for the most trivial of databases (such as Chapter 11’s flat file database based on a single data file), databases are created and managed through a database management system ...
Get Learn Java for Android Development, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.