Women understand fashion — A 600 billion dollar industry can vouch for that. Would it then be true to say that all a woman wants is to look beautiful?
I see it as a sales and marketing trap. People and businesses have been selling these picture-perfect images of women all prettied and dressed up, and we have been buying them blindly all this time.
But how many of these fashionistas do you know of in your real life? When you think of the women around you, what image comes to mind? I bet most of us would remember women in…
While building microservices one would always think of creating a resilient system. Especially when the service has an external dependency to an API or datasource and its availability in the lower environments is questionable.
Another scenario would be when we want to take a different course of action if a certain kind of exception is thrown from the external system.
In a Microservice architecture, we can implement the circuit breaker design using any of the popular implementations. The two most popular implementations are provided by Netflix as Netflix-Hystrix and Alibaba as Alibaba-Sentinel.
Both the implementations provide the basic features needed…
Spring boot annotations make project configuration very easy and starting a project hassle-free.
But there are times when these annotations are used incorrectly.
Let’s go through a few of them and understand how to use them effectively.
This annotation is an equivalent of all the three annotations mentioned in the below list. If you are using the ones mentioned below, then do not use SpringBootApplication annotation.
These annotations are not mandatory so you could use them based on the features your application needs by default.
Validated is often confused with @Valid annotation which belongs to…
The first time I touched a keyboard was in school, we were all given one chance to play a video game, and when the prince dies in the game, hand over the keyboard to the next Student in line. I just played it once and as it was an optional class I never went back to that room.
Later in high school, I enrolled in a crash course on Microsoft Office. It was fun for the first couple of days but then I was bored to death. How much can you tolerate MS Office right?
Later I got my bachelor's…
What is Brave?
It’s a browser, just like chrome, firefox, safari, and others. We can browse, watch youtube, read blogs and do everything one would normally do with chrome or other popular browsers.
How is Brave different?
Brave removes all the ads and ad tracking elements while loading the web page, replaces them with a few of its own advertisements (based on…
In this tutorial, we will learn to implement a simple SpringBoot application that implements the CQRS principle.
We will use Axon 4 framework in this use case. To store events, we will use Mongo DB, and instead of a repository to store and query data, we will use a static Map.
CQRS — Command Query Separation. In simple words, either perform an action on the data or query and return the data.
Axon is an open-source Java framework to develop event-driven microservices. Axon comes with Axon framework and Axon server. …
In this tutorial, we’ll walk through a simple implementation of the hexagonal architecture. Alistair Cockburn proposed this concept in 2005.
This architecture is also called “Ports and Adapters” and “Object Structural”.
We’ll go through the concepts first and then learn the implementation of this architecture using Java.
Hexagonal Architecture defines that an application’s business logic should be isolated from the external applications.
Based on this concept, we can divide our application into 3 parts. The business logic will be the inside of an application. The user and server sides of the application would be the outside of an application.
Java never lost its popularity despite tough competition from a number of cool and new languages. It's a language that’s loved by technology giants as they expand their business according to the growing demand and look for a stable and scalable backend solution for their mobile and web applications.
Before we figure out the relationship between Java-5G-IoT, let's just refresh our memory on these latest technologies.
So I have been busy learning cryptocurrencies and blockchain for the past couple of days. It's interesting, challenging, and fascinating stuff.
The more I learned the more I was confused as to how are these things getting so popular?
Like we understand stocks, it’s basically companies that build and sell products or sell services and we value them and want a share of it and the share price increases. …
If you do not take control of your life, society will!
Society will define your success, your needs, and everything you should do to be happy. If and only if you define your own rules, question the stereotypes, and are willing to take risks and let go of some toxic relations that you will be happy on your own terms.
Let me give you an example - I’m from India and I lived and worked in the USA for 5 years. I lived in an Indian community in New Jersey. Why the Indian community? …
Driven by Aspiration, Powered by Coffee, Humor, and Technology, Paid by the employer for my Java skills.