Author: Ankit Mogha

SpringBoot application using MarkLogic as a Docker Container

Reading Time: 4 minutes In this blog, we will know how we can create a SpringBoot application that uses MarkLogic as the database tier. In this application, we will be running MarkLogic in Docker containers. SpringBoot A spring boot is an open-source Java-based framework. Spring Boot is a project that is built on top of the Spring Framework. It makes it easy to create stand-alone, production-grade applications that we Continue Reading

young business people working with digital tablet while discussing together in conference room

An Introduction to MarkLogic Server

Reading Time: 2 minutes MarkLogic Server is an enterprise no sequel database. The unique structure of Marklogic ensures that your applications are both scalable and have extreme performance. What is MarkLogic Server? MarkLogic Server is a multi-model database. As quoted in the official documentation of the MarkLogic Server The MarkLogic Server is a powerful software solution for harnessing your digital content all in a single database. MarkLogic has documents Continue Reading

Introduction to Domain Driven Design

Reading Time: 3 minutes Domain-driven design provides techniques to analyze a problem in a doable manner. Nowadays, Software has become a crucial part of contemporary business. And as companies grow, their systems develop with them. Through the years, minor problems emerge as larger, and shortly tasks start to fall apart below their own weight. We need equipment in order to allow us to take the huge issues, and decompose Continue Reading

Creating RESTful API using SpringBoot and MongoDB

Reading Time: 3 minutes In this blog, we are going to create RESTful APIs using spring boot and containerized MongoDB. What are RESTful API, SpringBoot, and Containerized MongoDB In this section, we will go through the term’s REST API, SpringBoot, and Containerized MongoDB RESTful API A REST API (also known as RESTful API) is an application programming interface that conforms to the constraints of REST architecture. REST stands for Continue Reading

The JSF Framework: An Introduction to JavaServer Faces

Reading Time: 2 minutes JSF stands for JavaServer Faces. It is a framework that helps you build user interfaces for JavaServer applications. It provides the standard set of tools for creating a user interface. JavaServer Faces (JSF) is an MVC web framework. What is JSF? JSF technology includes a set of APIs representing different UI components and helps manage their states. JSF framework provides the flexibility of creating simple Continue Reading

GSSAPI – Generic Security Service Application Program Interface

Reading Time: 2 minutes In the previous blog, We have read about SCRAM Authentication. In Today’s blog, we gonna read about GSSAPI (Kerberos) Authentication. Kerberos is a security protocol that provides an alternate mechanism for client and server authentication. Introduction to GSSAPI As its name implies, the GSS-API enables programmers to write generic applications with respect to security. It is widely use by protocol implementers as a means to Continue Reading

SCRAM – Salted Challenge Response Authentication Mechanism

Reading Time: 2 minutes The Salted Challenge Response Authentication Mechanism SCRAM is a family of modern, password-based challenge–response authentication mechanisms. Providing authentication of a user to a server. As it is specified for Simple Authentication and Security Layer (SASL). It can use for password-based login to services like SMTP and IMAP (e-mail), or XMPP (chat).  Apache Kafka supports SCRAM-SHA-256 and SCRAM-SHA-512.  SCRAM Implementation Kafka stores SCRAM credentials in ZooKeeper and is suitable for use in Kafka installations where ZooKeeper is on a private network. Continue Reading

What is Lambda Expression in java? How to Use it?

Reading Time: 3 minutes Lambda Expressions get add-in Java 8. Java lambda expressions are Java’s first step into functional programming. Its main objective is to increase the expressive power of the language. The syntax of a basic lambda expression is: The expression use as the code body for the abstract method within the paired functional interface. lambda expressions exist outside of any object’s scope. This means they are callable anywhere in Continue Reading

What are Streams API in Java 8 ? How its unique

Reading Time: 3 minutes First of all, Java 8 Streams should not be confuses with Java I/O streams. The Stream API is use to process collections of objects. Java provides a new additional package in Java 8 called java.util.stream. In stream one or more operations can be perform. The Streams operations are either intermediate or terminal. Stream provides following features: The stream does not store elements. A stream is not Continue Reading

Contracts in Ethereum using Solidity

Reading Time: 2 minutes The Contracts in the sense of Solidity is a collection of code and data. That resides at a specific address on the Ethereum blockchain. Contracts in Solidity are similar to classes in object-oriented languages. They contain persistent data in state variables, and functions that can modify these variables. Creating Contracts Contracts can be create from outside via Ethereum transactions or from within Solidity contracts. Lets Continue Reading

Design Patterns in Rust Programming

Reading Time: 3 minutes The Design Patterns are programming language independent strategies for solving a common problem. By using design patterns, you can make your code more flexible, reusable, and maintainable. These solutions were obtained by trial and error by numerous software developers. Types of Design Patterns There are following types of design Patterns in Rust for solving our problems : Behavioural Creational Behavioural Patterns Behavioural design pattern are design patterns that Continue Reading

How to Tackle Error in Rust Programming

Reading Time: 3 minutes An Error is basically an unexpected behaviour that may lead a program to produce undesired output or terminate abruptly. Error handling is the process of handling the possibility of failure. In Rust, errors can be classified into two major categories. Recoverable UnRecoverable Recoverable Error Recoverable errors are those that do not cause the program to terminate abruptly. Such as a file not found error . Continue Reading

How to use Pattern Matching in Rust

Reading Time: 3 minutes Rust has an extremely powerful control flow operator called Match. Pattern matching in Rust works by checking if a place in memory matches a certain pattern. Patterns can be : literal values variable names wildcards, and many other things Destructuring using Pattern Matching Pattern matching can use to destruct following items : Structures Enums Tuples  Destructuring breaks up a value into its component pieces. The syntax used is Continue Reading