O'Reilly logo

Play for Java by Nicolas Leroux and Sietse de Kaper

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

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. ...

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