Play Application

Introduction to Play Framework in Scala

Reading Time: 3 minutes In this article, we will familiar with the Play Framework and figure out how we can use it to create a web application. Play Framework is a Light Weight, Stateless, Asynchronous, Highly Scalable, Non-Blocking, and REST API-based Modern Web applications development framework. It integrates the components and APIs we need for modern web application development. Play Framework Features Hot Reloading saves development time RESTful by Continue Reading

Integrating Play app with Lagom application

Reading Time: 2 minutes What is Lagom? Simply put, it is a microservices tool. Lagom is a microservices framework that guides developers in moving from monolithic to a scalable, resilient microservice based systems. It is a platform delivering you not only the microservice framework but also a whole tool set for developing applications along with creating, managing and monitoring your services. According to Lightbend the focus should not be Continue Reading

Gatling Integration with Play

Reading Time: 2 minutes I have started working on a project which require stress testing using Gatling. I Setup the sbt project on which gatling is working fine. But when I try to integrate it using play framework, it doesn’t work. The project structure for both are different so it doesn’t work for both the project in the same manner. Your build.sbt should be  like this: import _root_.io.gatling.sbt.GatlingPlugin import Continue Reading

Messages and internationalization in Play 2.4.x

Reading Time: 3 minutes In this blog we would discuss about Messages and internationalization in Play Framework which would drive us through the implementation and testing of the Play MessagesAPI. Messages and internationalization Play supports Internationalization (i18n) out of the box by leveraging the underlying internationalization support. With Play you are able to customize the text that appears in a view based on the user’s Locale. Specifying languages supported Continue Reading

Play 2.3.x PDF : Basic example for generating PDF documents dynamically from Play Application with the help of play2-pdf module

Reading Time: 2 minutes In this blog I have created a basic example for generating PDF documents dynamically from Play Application with the help of play2-pdf module Play 2.3.x PDF module: This module helps generating PDF documents dynamically from your Play! web application. It simply renders your HTML- and CSS-based templates to PDF. It is based on the Flying Saucer library, which in turn uses iText for PDF generation. Continue Reading