maven

How to create your first docker image and run it in a docker container via command line?

So, Don’t you hate it when you are into deployments and don’t know how to go about docker and stuff. Today, we will talk about creating docker images and running it in a container via docker command line. It might sound frustrating and not easy but It’s possible and I will show you how. To make things easier from the beginning I have divided the Continue Reading

Developers Needs SDKMAN Not Super-Man

Every developer has pain for setup development environment to his/her machine with lots of the setups. Sometimes, the pain goes beyond while we need to test same application on multiple versions of SDKs or virtual machines. If you are a Mac user, you have the best option called brew installer. But if you are Linux user, your pain is unpredictable. We are JVM stack developers Continue Reading

Cinnamon: Way For Monitoring & Metrics Generation for Akka ActorSystem

We are developing huge applications and deployed on multiple virtual machines and clusters. For monitoring applications, we need to enable logs into our application and analysis that logs with help of some tools like elastic stack. But !! what if we need to check health of application on virtual machines and clusters? For that, we are using several Metrics for system health check like Gauges, Continue Reading

Let’s Consume a Micro-service

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

Tutorial 2:Introduction on how to write a First Test Script in CUCUMBER

Hello Everyone, In this series of blog it’s time to look into how to write test cases in cucumber and execution of these test cases.Follow these Steps for the Same. You can read the previous post related to installation of cucumber: here Step 1: We will use the test package to define the location of features (Resources folder), step definitions (Java folder) and other files. Then Continue Reading

Tutorial 1:Cucumber with java maven project

Hi Folks. From this Blog we will start a series of cucumber BDD tool .Before go through the cucumber We should know how to integrate cucumber with java maven project. To run Cucumber test with Java, following are the steps. Step 1. Install Eclipse IDE -Make sure java should already be installed on your machine. Step 2. Then Create the New Project in Eclipse IDE by following steps: Continue Reading

Solr with Java: A basic hands-on with SolrJ

What is Apache Solr: Apache Solr is a search sever that includes the full-text search engine called Apache Lucene. It takes the piece of information (called documents) that are indexed according to the cores. When a query is performed, solr goes through the index and return the matching documents. Now let’s start the hands-on. Step 1: Install Solr from the following link. Step 2: Start Continue Reading

Lightbend Monitoring: Lagom

Lightbend Monitoring provides insight into applications built with Lightbend technologies. It does so by instrumentation of frameworks like Akka and Lagom. The instrumentation is done by a Java agent (called Cinnamon) that runs when your application is starting up. It collects information in runtime based on the configurations that you have provided. In this post, we would show the Circuit Breaker (CB) monitoring with Lagom. Continue Reading

Application compatibility for different Spark versions

Recently spark version 2.1 was released and there is a significant difference between the 2 versions. Spark 1.6 has DataFrame and SparkContext while 2.1 has Dataset and SparkSession. Now the question arises how to write code so that both the versions of spark are supported. Fortunately maven provides the feature of building your application with different profiles. In this blog i will tell you guys how to Continue Reading

Introduction to database migrations using Flyway

Let us first understand why are database migrations necessary? Assume that we have a project called Shiny and it’s primary deliverable is a piece of software called Shiny Soft that connects to a database called Shiny DB. We not only have to deal with one copy of our environment, but with several. So the simplest view of our problem will translate to:

How to integrate your MAVEN project with SonarQube

So, You want to integrate your project to SonarQube for managing the source code quality of your project. That’s indeed a wonderful idea. If you are wondering and excited to learn How to go about it, just keep calm and sit back, I will take you through the same. I am very certain that after this blog you will be able to integrate your project Continue Reading

Maven Plugins for Scala Code Quality

SBT is an excellent tool for Scala and there are many plugins available for SBT to improve and measure the code quality of our Scala code. Sometime you may require to use only the Maven as a build tool and most of the popular plugins available in SBT for Scala are also available in maven. In this blog I will try to list down  the Continue Reading

Embedding and Testing Drools Flow in your Java Project

Drools Flow provides workflow capabilities and can easily integrate rules with processes. You can easily define the series of steps that would be followed in a workflow using the flowchart based approach to get a rule file. All this works like a charm with the drools plugin in eclipse and if you are interested then there is good information here to work with the plugin. Continue Reading

%d bloggers like this: