Scala PlayFramework application in Docker container

Scala PlayFramework application in Docker container

There are a few different approaches to packaging Play applications into a Docker Image. You can create a Dockerfile file by hand, customize preexisting one or just by using some tool to generate it. Since Play comes with a great packaging application –...
How to automate tests with Play and Selenium

How to automate tests with Play and Selenium

Even when our application passes all unit tests, it doesn’t mean that it will work as a whole system. One way of making sure that it works as a whole, is testing it from the user’s perspective. The easiest way of performing this type of test is manually...
Creating reusable tests for PlayFramework

Creating reusable tests for PlayFramework

Writing tests isn’t the most interesting part of developing a new feature, yet it’s an important one. Well written tests will help you make sure that your newly added feature won’t break any other functionality. However while testing DAOs and...
How to optimize database queries?

How to optimize database queries?

Database optimization is a rather hard topic. Every database is different and may need different methods of tuning. These are some of the most common places to check for improvement. Creating proper indexes One of the easiest ways of speeding up your database queries...