Notice that we didn't configure, or use, any databases while implementing the web service using Jersey in the preceding section. Instead, we simply demonstrated how to map a request and return a response back using REST verbs. Real-world web services save the data in a data store and read it from there.
Let's add a POST function to create a record in the database and a GET function to read it. Let's say we want to create an application that allows us to manage identities where we create organizations, groups, users, and so on. To start with, let's create an organization. We will enhance this application in the following chapters.