Let’s Consume a Micro-service

Reading Time: 2 minutes 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 to guide you through the steps needed to integrate an unmanaged service. Apparently, Integrating an external API in Lagom is challenging at first but it Continue Reading

Location Strategy- Routing in Angular2

Reading Time: 5 minutes Angular 2’s router is super easy to use. Angular 2 gives you the possibility of dividing your application into several views that you can navigate between through the concept of routing. Routing enables you to route the user to different components based on the url that they type on the browser, or that you direct them to through a link. This post will cover standard  Continue Reading

SQL made easy and secure with Slick

Reading Time: 5 minutes Slick stands for Scala Language-Integrated Connection Kit. It is Functional Relational Mapping (FRM) library for Scala that makes it easy to work with relational databases. Slick can be considered as a replacement of writing SQL queries as Strings with a nicer API for handling connections, fetching results and using a query language, which is integrated more nicely into Scala. You can write your database queries Continue Reading

Simple Java program to Append to a file in Hdfs

Reading Time: 2 minutes In this blog, I will present you with a java program to append to a file in HDFS. I will be using Maven as the build tool. Now to start with- First, we need to add maven dependencies in pom.xml. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor Continue Reading

When I took Angular 2 to build my Application

Reading Time: 2 minutes When I took Angular 2 to build my application, I still had my doubts to go with Angular 2 or some other framework. But after some research, I decided to go with Angular 2. It gives the ability to make Single Page Application in a perfect and viable way. Here are some others reasons / advantages I liked: 1. TypeScript : Unlike javascript, typescript is Continue Reading

Learning Classification using SMILE

Reading Time: 2 minutes After an introduction to SMILE, lets go through the various steps necessary for its implementation. You may refer to the blog for an introduction to SMILE. What can be most important thing for implementing any Machine Learning algorithm ? The answer is really easy. Data is primarily the most important thing as Machine Learning involves building models from data. So it is required to play Continue Reading

Data modeling in Cassandra

Reading Time: 3 minutes Role of Partitioning & Clustering Keys in Cassandra Primary and Clustering Keys should be one of the very first things you learn about when modeling Cassandra data.  With this post I will cover what the different types of Primary Keys are, how they can be used, what their purpose is, and how they affect your queries. Primary key Primary Keys are defined when you create Continue Reading

Scala Trait and Mixin – Points to Remember

Reading Time: 3 minutes Scala Trait and Mixin – Points to Remember Trait can be viewed not only as interfaces in other languages, but also as classes with only parameterless constructor. Whenever there is some code in trait, the trait is called mixin. trait Alarm { def trigger(): String } In scala trait, If we create simple class and pass parameter in constructor, without any val or var, it Continue Reading

Knolx – Akka Finite State Machine

Reading Time: < 1 minute Hi all, Knoldus has organized a 30 min session on 17th February 2017 at 4:05 PM. The topic was Akka Finite State Machine. Many people have joined and enjoyed the session. I am going to share the slides and Video here. Please let me know if you have any question related to linked slides.

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

Reading Time: 5 minutes 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 know, Java help us for building a good applications, but with JavaEE monolithic approach our applications are not scalable as compare to microservices. That’s why, Continue Reading

Short Interview With SMACK Tech Stack !!!

Reading Time: 3 minutes Hello guy’s, today’s we conduct short interview with SMACK about its architecture and there uses. Let’s start with of some introduction. Interviewer: How would you describe your self ? SMACK: I am SMACK (Spark, Mesos, Akka, Cassandra and Kafka) and belongs to all open source technologies. Mesosphere and Cisco collaboration bundles these technologies together and create a product called Infinity.  Which is used to solved Continue Reading

A Simple Example using elm

Reading Time: 2 minutes In this blog, we will see how to build a simple application using elm. Elm is a functional language that compiles into javascript with following features:- 1)  Great Performance 2)  No run-time exception 3)  Javascript Interop 4)  Friendly error message 5)  Ability to write functional code Elm is getting popular day by day. According to Slant community, it is the 2nd most popular language, which Continue Reading

Setting Up Multi-Node Hadoop Cluster , just got easy !

Reading Time: 3 minutes In this blog,we are going to embark the journey of how to setup the Hadoop Multi-Node cluster on a distributed environment. So lets do not waste any time, and let’s get started. Here are steps you need to perform. Prerequisite: 1.Download & install Hadoop for local machine (Single Node Setup) – 2.7.3 use java : jdk1.8.0_111 2. Download Apache Spark from : choose spark release Continue Reading