There is a book that is exactly this, "Database Design and Implementation" by Edward Sciore.
You write a database in Java while having the principles explained along the way.
https://www.amazon.com/Database-Design-Implementation-Data-C...
You write a database in Java while having the principles explained along the way.
https://www.amazon.com/Database-Design-Implementation-Data-C...