Using the
code provided for the Bookstore application, modify it to do the following:
- Change the method populateCustomers in the GetBookstore.java class so that it reads from the
database Customers.mdb to create the Customers collection object.
- Add a method to the GetBookstore class called addCustomer to update the Customers.mdb
database with a new customer object.
- Find the place in the code where you need to add a call to the addCustomer method and add the
appropriate call. You may need to add an additional method to the Customers class to take car of this.