Now that the Book bean is defined, we can implement its inventory API as we have defined it in Chapter 4, Let's Get Started: The Bookshelf Project. The interface hosts the inventory methods as well as the Book factory method:
Now, let's add this interface to our project.