© Dave Wolf, A.J. Henley 2017

Dave Wolf and A.J. Henley, Java EE Web Application Primer, https://doi.org/10.1007/978-1-4842-3195-1_2

2. What Is a Database?

Dave Wolf and A. J. Henley2

(1)New York, USA

(2)Washington, D.C., District of Columbia, USA

A database is a place to permanently store data for retrieval in a safe, efficient way. A database allows us to create data and save it permanently. It allows us to retrieve previously created data, update existing data, or delete existing data.

A transaction groups SQL statements so that they are all applied to the database. If one statement fails for some reason, all the statements are undone from the database. Transactions ensure data integrity . Transactions distinguish a database management system such ...

Get Java EE Web Application Primer: Building Bullhorn: A Messaging App with JSP, Servlets, JavaScript, Bootstrap and Oracle 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.