Chapter 3. A basic CRUD application

This chapter covers

  • An introduction to all major Play concepts
  • Creating a small application

In the previous chapter, we introduced our example application: the paper clip warehouse management system. Now that we know what we’re going to build, and have our IDE all set up, it’s time to start coding.

In this chapter, we’ll start implementing our proof-of-concept (POC) application. It will be a simple CRUD[1] application, with data stored in-memory rather than in a database. We’ll evolve our POC application in later chapters, but this simple application will be our starting point.

1 Create, Retrieve, Update, Delete

We’ll start by setting up a controller with some methods and linking some URLs to them. ...

Get Play for Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.