Category Archives: Reactive

Building Analytics Engine Using Akka, Kafka & ElasticSearch

In this blog , I will share my experience on building scalable, distributed and fault-tolerant  Analytics engine using Scala, Akka, Play, Kafka and ElasticSearch. I would like to take you through the journey of  building an analytics engine which was primarily … Continue reading

Posted in Akka, akka-http, Amazon, Amazon EC2, Apache Kafka, Architecture, AWS, AWS Services, Batch, Best Practices, big data, Cassandra, database, Elasticsearch, Java, Non-Blocking, NoSql, Reactive, S3, Scala, Streaming, Web | 9 Comments

Getting started with ReactJS, Play 2.4.x, Scala, Anorm and WebJars

playing-reactjs This blog describes a basic example to render UI using React(A JavaScript library for building user interfaces) with Play 2.4.x, Scala, Anorm and WebJars. It also demonstrates the use of evolution in Play 2.4.x This is a classic CRUD … Continue reading

Posted in AJAX, Akka, Anorm, Bootstrap, Bootswatch, CSS, Future, JavaScript, jQuery, Play 2.4.X, Play Framework, React, Reactive, ReactJS, Scala, Tutorial, WebJars | Tagged , , , , , , , , , , , , , , , , , , , , | 3 Comments

Playing Gravatar: A basic example to generate gravatar using email address with Play Framework

Playing Gravatar Image In this blog I have created a basic example to generate gravatar using email address with Play Framework Gravatar: An “avatar” is an image that represents you online—a little picture that appears next to your name when … Continue reading

Posted in Akka, Gravatar, Java, JavaScript, Play Framework, Reactive, Scala | Tagged , , , , , , | 1 Comment

Tutorial #3: Getting started with HTTP Programming in Play Framework

We have already discussed about the Play development environment in Tutorial #1 and use of WebJars, jQuery, Bootstrap & Bootswatch with Play in Tutorial #2 So, In this blog we would discuss about HTTP programming in Play Framework which would … Continue reading

Posted in Akka, Future, Play Framework, Reactive, Scala, Tutorial, Web | Tagged , , , , , , , , , | 3 Comments

Playing MultipartFormData: A basic example to handle and test MultipartFormData request in Play Framework 2.3.8

Playing MultipartFormData The following blog and attached code represent an example to upload file using MultipartFormData request and Testing it into Play Application. A basic example to handle and test MultipartFormData request in Play Framework 2.3.8 The standard way to upload … Continue reading

Posted in JUnit, Mockito, MultipartFormData, Play Framework, Reactive, Scala, Specification, specs2, Test, Tutorial, Web | Tagged , , , , , , , , , , , , , | 5 Comments

Knolx : Logging with Logback in Scala

In this presentation, I have explained brief introduction about logback and its components. I also explained about configuration of logback.xml file, appenders as File and SMTP.

Posted in Java, Play Framework, Reactive, Scala | 6 Comments

Play with Reactive Slick: A Simple CRUD application in Play! framework using Slick 3.0

Recently Typesafe released Slick 3.0.0-RC1, the first release candidate for “Reactive Slick”. Reactive Slick has many new features like Support for Reactive Streams API, a new API for composing and executing database actions and many more. Before moving forward, we recommended you … Continue reading

Posted in Agile, Future, Non-Blocking, Play Framework, Reactive, Scala, Slick, Web | Tagged , , , , | 18 Comments

Play-Slick-PostgreSQL: Reactive Play application with Slick extensions for PostgreSQL

playing-slick-pg Building Reactive Play application with Slick extensions for PostgreSQL This is a classic CRUD application, backed by a PostgreSQL database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, … Continue reading

Posted in Bootstrap, Future, JavaScript, jQuery, Non-Blocking, Play Framework, Reactive, Scala, Slick, Web | Tagged , , , , | 4 Comments

Meetup: Introduction to Play Framework !!

Reactive Application Programmers in Delhi NCR Hi Folks, Knoldus have organized an one hour session on 4th Feb 2015 at 5:00 PM. Topic is  Introduction to Play Framework. So many people have joined and enjoyed the session. I am going … Continue reading

Posted in Play Framework, Reactive, Scala, Tutorial | Tagged , , | 2 Comments

Integrating sending mail functionality with LogBack in Scala

Few days ago, I had the requirement that whenever there will be an exception in the application, we should get an email for this. Earlier, I was just logging the error log using LogBack : To do this, there are … Continue reading

Posted in Akka, Cloud, Java, Play Framework, Reactive, Scala, Web | 2 Comments