maven

Understanding POM

Reading Time: 4 minutes What is POM? The core element of any maven project. Maven Project consist of at least one configuration file called pom.xml. Which stands for the abbreviation Project Object Model. The pom.xml will always be located in the root directory of any maven project. Inside the pom.xml contains all the necessary information about the configuration details. dependency included and plug-ins included in the project. Why do Continue Reading

Non-HTTP Contract Test (Message Pact)

Reading Time: 4 minutes This blog shows how to create a contract between producer and consumer using the Message Pact framework. What is Contract Testing? Contract testing is writing tests to make sure the services can communicate well with each other. There are two perspectives in Contract testing: One is the consumer entity using the service and other one is the provider entity that provides the service. As an Continue Reading

Maven: Let’s Get Started with Single Module Project

Reading Time: 4 minutes If you wants to manage the build, testing, and deployment processes. Maven can helps you out in this. It can separate the unit tests and integration tests.So you only run them when necessary and cut down on build time. In this blog we’re going to learn for what reason do we need Maven, basics, and a single module project of Maven. For what reason do Continue Reading

TestNG setup using Maven for Selenium

Reading Time: 3 minutes Definitions TestNG (Test Next Generationis) is an open source testing framework. TestNG is inspired from JUnit and NUnit. It is an improvised framework which makes it more powerful and easier. It provides the developer to write more powerful and flexible tests with the help of easy annotations, sequencing, grouping and parametrization. We can use TestNG for generating reports. The reports generated will be of two types pass and fail. Continue Reading

Multi threading in JAVA

Reading Time: 3 minutes In this blog we will understand how Multi threading works in JAVA and why is it so Important to understand? What is Multithreading? Multithreading in Java is a process of executing two or more threads simultaneously to maximum utilisation of CPU. Multi-threaded applications execute two or more threads run concurrently. Hence, it is also known as Concurrency in Java. Advantages of multithread: The users are not Continue Reading

Maven | Getting Started with Maven

Reading Time: 4 minutes In this blog we aim to setting a maven with HelloMaven example. Maven.. What is it ? Generally mvn is a “Build tool” . It is a site and documentation tool which extends ANT to download dependencies and plugins , set of reusable ant scriptlets. This is an attempt to apply patterns to a project’s build infrastructure in order to promote comprehension and productivity by Continue Reading

Introduction to MongoDB with Java

Reading Time: 3 minutes We now live in a data driven world where we are generating so much data that it becomes difficult to manage this data using databases. There are different databases available for different use cases. For a long time Relational databases were used for most of the uses cases, but as the technology advanced and modern applications came which need more scalability and variety came into Continue Reading

Compile protocol buffers using maven

Reading Time: 3 minutes Hi Folks! As part of this blog, we will explore how we can compile protocol buffers using maven. We assume the reader has the basic idea about protocol buffers and maven. Google developed Protocol Buffers for use in their internal services. It is a binary encoding format that allows you to specify a schema for your data using a specification language, like so: The snippet defines the Continue Reading

In Deep: The bill of materials in Maven

Reading Time: 3 minutes Lately while working with Spring WebFlux, I came across this really helpful concept of the bill of materials also known as BOM, a concept not really limited to Spring at all. BOM is one of the few ways Spring helps us forget about issues related to transitive dependencies and focus solely on our project requirements. So when we generally create a large scale project with Continue Reading

Maven Simplified

Reading Time: 4 minutes This blog will provide you with the basics of maven, its importance and its life cycle. For installation, you can refer here and then continue with this blog. Why a Build tool? Initially, while learning and developing small projects, we compile limited classes and include specific JAR libraries on our own which are required to build our project. This seems very difficult in large projects Continue Reading

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

Reading Time: 3 minutes 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