Using Guice for Dependency Injection

Prerequisite For Injecting dependency using guice, you should first know what is Dependency Injection. Please go through this article to understand Dependency Injection. Introduction Now that we know what is Dependency Injection, we can use it in our code. With dependency injection, objects accept dependencies in their constructors. To construct an object, you need first... Continue Reading →

Advertisements

A Beginner Tutorial To Kotlin – 1

Prerequisite IntelliJ Idea or any other IDE that supports Kotlin syntaxJVM (as Kotlin is a JVM based language) Introduction JetBrains started project Kotlin in 2011. Kotlin is designed to be complied as fast as Java and having the features of Scala. Scala, as JetBrain points out, has a high compilation time. Kotlin has saveral variations... Continue Reading →

A Beginner Tutorial on Java Streams

The screenshot above explains the dictionary meaning of stream. And stream in java is no different. The dictionary meaning says: stream - a continuous flow of liquid, air or gasA quick google search Stream in Java is also a sequence of values. As you can make a dam to aggregate the water in case of... Continue Reading →

A Beginner Tutorial For Elasticsearch – 1

Introduction Elasticsearch is a near-realtime search platform. Near-realtime means that there is a slight latency from the time a document is indexed until the time it becomes searchable. We will start with some terminology related to elasticsearch. Document A document is the basic unit of information that can be indexed. A document is expressed in... Continue Reading →

Blog at WordPress.com.

Up ↑