Java Error: Could not find or load main class

When you are creating apps using an IDE like Eclipse or IntelliJ IDEA, compiling and running your code is pretty easy since the IDE will take care of many of the things behind the scenes. But you may encounter this

Read More Java Error: Could not find or load main class

Spring Component Annotation and further stereotype annotations

spring-spring-mvc-spring-boot

In this post I would like to share with you some enlightening quotes from spring documentation. Here you will see the difference between some of the spring annotations like @component, @service, @repository, @controller, what it means to use them or can

Read More Spring Component Annotation and further stereotype annotations

Microservice Registration and Discovery with Eureka and FeignClient

netflix-eureka

In this post, I will try to guide you on how to develop with Spring’s wrapping of Netflix’s Eureka. Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of

Read More Microservice Registration and Discovery with Eureka and FeignClient

Java Spring Framework vs. Spring MVC vs. Spring Boot

spring-spring-mvc-spring-boot

New to Java world? Confused about what is what? What is Spring? What is Spring MVC? What is Spring Boot? Let me “briefly” explain the differences and what they are used for. What is Java Spring Framework? Spring Framework is

Read More Java Spring Framework vs. Spring MVC vs. Spring Boot

Removing last character using javascript – substring, substr, slice methods

javascript-slice-substr-substring

In this post, I would like to present you with 3 different 1-line scripts that are used a lot. These snippets are used to remove the last character from a string. When may you need this? You may be building

Read More Removing last character using javascript – substring, substr, slice methods

Indexing, Retrieving, Deleting Documents in Elastic Search (Using Kibana)

elastic-search-kibana

Indexing, Retrieving, Deleting Documents in Elastic Search (Using Kibana) Elasticsearch (ELK Stack) – Part 1 I have been playing around with ELK (Elasticsearch, Logstash, Kibana – Elastic Stack) and I though I would paste some of my notes here. The

Read More Indexing, Retrieving, Deleting Documents in Elastic Search (Using Kibana)

Python – Difference Between “is” and “==” (double equals)

Python - Difference Between is and double equals

This may be a point where a lot of you may get confused. I see some people using them in if conditions without actually knowing what they do. Let me try to explain the concept with a couple of lines of

Read More Python – Difference Between “is” and “==” (double equals)

What is a Java Bean? Is it Just Any Java Class?

javabeans

What is a Java Bean? Is it just any java class? The answer is no! Many people think when they say “Java Bean” they are talking about just any java class, but this is not the case. A Bean is

Read More What is a Java Bean? Is it Just Any Java Class?

Difference between a Framework and a Library

difference-library-framework

Recently, I heard 2 of my friends talking about the difference between a framework and a library, and I thought some may need a clear explanation to see the difference. Check out the simple diagram below. Library A library is essentially

Read More Difference between a Framework and a Library

Django – Difference Between Filter and Get

django-difference-filter-get

For the new comers Django’s Get and Filter functions may be consuming when it comes to decide which one to use. The primary difference between the two is Get will return exactly one object while Filter will return a query

Read More Django – Difference Between Filter and Get