Home » Tag Archives: Play Framework

Tag Archives: Play Framework

Play! Framework JSON & Scala Example

In this post, we feature a comprehensive Example on Play! Framework JSON & Scala. In my last two posts, we have discussed about Play Framework + Scala + SBT based project basics. Please refer Play! Framework Hello World Example and Play! Framework Path, Query and Route Default Params Example to understand Play + SBT Project structure, Project configurations, SBT configurations ...

Read More »

Play! Framework Path, Query and Route Default Params Example

In my previous post, we have discussed about Play Framework basics with HelloWorld example. I hope you have experimented that example and waiting for next step in this series. If not done, better to go through my previous post first at Play! Framework Hello World Example. It will give you some basic idea about “How Play Framework and Scala SBT ...

Read More »

Play! Framework Hello World Example

We are going to develop a series of Scala Web Applications or Microservices using Play Framework. This is our first post in this series. In this post, we feature a comprehensive Play! Framework Hello World Example. We are going to develop our old style, to learn new concepts on “HelloWorld” example using Play Framework, Scala Language and SBT build tool. ...

Read More »

Play! Framework Security Example

Today, security has become a priority in most web applications. Even giant enterprises have security issues that are found from time to time. The first barrier to avoid this issues is a login page to avoid people from seeing information they are not meant to see. Also, there are headers that mitigate security issues and provide an extra level of ...

Read More »

Play! Framework Session Example

Today, on most web applications, there is data we need to be sent across multiple http requests while the user has a browser tab open. A lot of different approaches were made, such as cookies and headers forwarding. To solve this problem, play applications now have a powerful tool: Sessions and Flash scope. Imagine you need to track what a ...

Read More »

Play! Framework Logging Example

Logging is a really important feature every application must have. Without it, it’s nearly impossible to know what your application is doing, how long does it take it, if it is failing, and if it is, why. With this in mind, play added logging support to it’s framework, using logback as logging implementation, and giving access to it through the ...

Read More »

Play! Framework Json Example

As we’ve seen in our previous example, Play! is a powerful web mvc framework. Among other stuff, Play has support for rest clients (in its WS package), web sockets, and our subject today: json. In this example, we’ll see how to write a Restful Web Service with Play! Framework with both scala and java languages using java 1.8.0_66, scala 2.11.6 ...

Read More »