page banner
avatar
'Scala REST API Integration Testing with Spray-testkit' post illustration
Scala REST API Integration Testing with Spray-testkit

Here you can find out how to create integration tests for RESTful service on the example of application shown in the article "Building REST service with Scala". To create the tests, I am going to use spray-testkit DSL, as it provides a simple way to test route logic for services built with spray-routing.

avatar
'Building REST service with Scala' post illustration
Building REST service with Scala

Enterprise application might be developed using a variety of architectural styles. And REST is one of the most powerful of them. It allows us to build simple, scalable, highly productive APIs with independent components on the basis of widespread standards like HTTP, MIME etc, engaging their true potential.

Let's discuss how to create a lightweight, but full-featured RESTful service from scratch.

avatar
'Table existence check using Slick' post illustration
Table existence check using Slick

I'm using Slick library in my project and need to ensure that all required MySQL tables are created on application start.

avatar
'How to update entire database record using Slick' post illustration
How to update entire database record using Slick

Slick documentation says how to perform update operation for specific column, but doesn't contain any examples of updating entire record.

Below is tiny example of how to do that.

avatar
'Native 0mq library version for akka-zeromq-2.0.x' post illustration
Native 0mq library version for akka-zeromq-2.0.x

I had a chance to try akka-zeromq module last month in order to implement solution for inter-service communication using Scala, Akka 2.0 and ZeroMQ.