O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

We have the following modules in our example:

  • book.manage: This is the main module which interacts with the data source
  • book.service: This is the module which contains the service provider interface
  • mongodb.book.service: This is the module which provides an implementation to the service provider interface
  • sqldb.book.service: This is the module which provides another implementation to the service provider interface

In the course of this recipe, we will create a maven project and include the preceding JDK modules as maven modules. So let's get started.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required