app.yaml is a configuration file for Google App Engine applications.
With app.yaml, you can configure your App Engine application. For Java apps, it allows you to configure your application more easily, and with fewer files, than with the standard web.xml configuration. You can use app.yaml as long as your application does not need to be portable to other Java application servers.
Source: developer.google.com (Java Application Configuration Using app.yaml)