Category Archives: Scala

Object Oriented JavaScript: Polymorphism with examples


Again this is not the advance topic of JavaScript but it relies under Object Oriented JavaScript & polymorphism is one of the tenets of Object Oriented Programming (OOP), we all know what is Polymorphism from other languages (like C#, Java … Continue reading

Posted in JavaScript, Scala | Tagged , , , , | 2 Comments

AWS | Running micro-services on Amazon ECS


Hi all, Knoldus had organized half an hour session on 27th January 2017 at 4:00 PM. Topic was Walk-through on Amazon ECS. Many enthusiasts joined and learned from the session. Below are slide and video from the session. Please let me know if … Continue reading

Posted in Amazon, Amazon EC2, AWS, AWS Services, Scala | Leave a comment

Spark Cassandra Connector On Spark-Shell


Using Spark-Cassandra-Connector on Spark Shell Hi All , In this blog we will see how we can execute our spark code on spark shell using Cassandra . This is very efficient at testing or learning time , where we have … Continue reading

Posted in apache spark, big data, Cassandra, Scala, Spark | 2 Comments

JWT Authentication with Play Framework


In this blog, I will demonstrate how to implement JWT Authentication with Play Framework. JSON Web Token (JWT) is a compact, self-contained which means securely transfer the information between two parties. It can be sent via Post request or inside the … Continue reading

Posted in JWT, Play 2.4.X, Play Framework, Scala | Tagged , , , | Leave a comment

Building Microservices Based Enterprise Applications in Java Using Lagom – Part I


As we know, now days, most of the enterprise applications design as a “Microservices Architecture” because of scalability, sharding, loosely-coupling and many others reasons are there. On the other hand  JavaEE help us for building an Enterprise Applications. As we … Continue reading

Posted in Akka, Java, Microservices, Scala | Tagged , , , , , , , , , , | Leave a comment

Event Sourcing with Eventuate


Hi all, Knoldus had organized an hours session on 3rd February 2017 at 4:00 PM. Topic was Event Sourcing with Eventuate. Many enthusiasts  joined and learned from the session. I am  sharing the slides of the session here. Please let me know … Continue reading

Posted in akka-http, Cassandra, Scala | Tagged , | 2 Comments

Introduction to Structured Streaming


Hello!!  Knoldus had organized half an hour session on Structured Streaming briefing about the API changes, how it is different from the early Stream Computation paradigm (DStreams) and example API demonstration. Hope you will enjoy. Below are the slides and Video … Continue reading

Posted in apache spark, Scala, Spark, Streaming | 1 Comment

Introduction To Quasiqoutes


Hi all, Knoldus had organized an hours session on 16th December 2016 at 4:00 PM. Topic was Introduction to Quasiqoutes. Many enthusiasts  joined and learned from the session. I am  sharing the slides of the session here. Please let me know if … Continue reading

Posted in Scala | Leave a comment

An Alternative to Akka Quartz: Time & TimeZone(IST and others) based jobs using Akka Scheduler


In this blog, we will be scheduling jobs based on time using Akka scheduler. The jobs will be scheduled based on IST(Indian Standard Time). It is basically an alternative to Quartz Scheduler to some extent which is also used to … Continue reading

Posted in Scala | Leave a comment

Partition-Aware Data Loading in Spark SQL


Data loading, in Spark SQL, means loading data in memory/cache of Spark worker nodes. For which we use to write following code: val connectionProperties = new Properties() connectionProperties.put(“user”, “username”) connectionProperties.put(“password”, “password”) val jdbcDF = spark.read .jdbc(“jdbc:postgresql:dbserver”, “schema.table”, connectionProperties) In here we are … Continue reading

Posted in Scala, Spark | Tagged , , , | 2 Comments