Tag Archives: lagom

Exception Serializer in Lagom

In this blog, I will show you how to handle error responses from a Lagom service and convert them into well-defined exceptions using exception serializers. Suppose we have an unmanaged service in Lagom. The unmanaged service hits a target service … Continue reading

Posted in Java | Tagged , | Leave a comment

Persistent Read Side in Lagom

Here in this blog, we will be discussing how we can query the lagom’s microservices for retrieving data. I hope you are clear with persistent entity concepts in lagom, if not, you can take a quick overview by going through … Continue reading

Posted in Cassandra, database, knoldus, Microservices, Scala | Tagged | 3 Comments

Lagom: Consuming a service part-2

So here’s the situation: We are using Lagom framework to develop our micro-services and we need to consume data from other services. What should we do? Well, it’s not going to be a problem for us. Lagom provides very easy … Continue reading

Posted in Java, Microservices | Tagged , , , | 1 Comment

Let’s dive deep into Apache Ignite

Let’s first have some basic understanding of Apache Ignite and then we will look more into its life cycle with the help of a demo application. Apache Ignite is an in-memory computing platform that is durable strongly consistent and highly … Continue reading

Posted in Functional Programming, Java | Tagged , , , , , , , , , , | 2 Comments


Are you finding it difficult to understand lagom persistence? Don’t worry because help is right here. In this blog, we will learn about lagom’s persistence with the help of a simple application and also discuss its theoretical aspects. Before we … Continue reading

Posted in Cassandra, database, Microservices, NoSql, Scala | Tagged , , , , , , , , | 8 Comments

Unit Testing vs. Component Testing in Lagom

Let’s first understand the basic difference between unit testing and component testing and then we will have a look at a practical application of unmanaged service in lagom with its test cases. Difference between Unit Testing and Component Testing Unit … Continue reading

Posted in Scala | Tagged , , , , , , | 1 Comment

Lagom and Immutability

What is Lagom? Lagom is not in disguise anymore. Everyone who’s following on micro-service architecture knows about Lagom framework. Lagom is an open source framework built with the shifting from monoliths to micro-services-driven application architecture in mind. It abstracts the … Continue reading

Posted in Architecture, Java, knoldus, Microservices, Scala | Tagged , , , | 1 Comment

Automatic Deployment Of Lagom Service On ConductR On DCOS

In our previous blog we have seen how to deploy the lagom service on conductr – https://blog.knoldus.com/2017/05/25/deploying-the-lagom-service-on-conductr/ In this blog we will create script to deploy your Lagom service on conduct present or running on top of DCOS. There are … Continue reading

Posted in Scala | Tagged , , , , , | 1 Comment

Lagom: Let’s Create Micro Services Application

In previous post we introduced you all with our new hero Micro Services but now let’s create our first application. Light Bend Inc. created Lagom framework for creating reactive micro services. Its really easy to build micro services applications using … Continue reading

Posted in Scala | Tagged , | 4 Comments

Let’s Consume a Micro-service

Micro-services architecture is being widely adopted and guess what, Lagom is the most efficient way to achieve it.  While creating micro-services, we usually need to interact with other micro-services and consume their data. So the idea behind this blog is … Continue reading

Posted in Java, Microservices | Tagged , , , , , | 2 Comments