Mockito is a Java based mocking framework most preferred with the Junit testing framework. It internally uses Java Reflection and allows to create dummy objects of service. Mockito is a very useful tool that simplifies the test case creation by creating mock/dummy object of external dependencies this dummy data will later apply with mocks into … Continue reading Mockito: An Unit Testing Framework
blog
It’s Time To Secure Your Way Of Doing OAuth For SPA & Native Apps
When clients like mobile, desktop, single page applications allow the user to sign-in using a third party application (google, facebook, twitter etc), one of the first choice is to use OAuth 2.0 standard with authorization code flow. In Authorization code flow, authorization request is made via browser and an authorization code is returned to the … Continue reading It’s Time To Secure Your Way Of Doing OAuth For SPA & Native Apps
Can Spring Boot Microservices Communicate Through GCP Pub/Sub? Explore Now!
In this post, we will learn how to use GCP (Google Cloud Platform's) Pub/Sub service with the Spring Boot application. We will create two simple applications, sender and receiver. We will send a message to a sender application which will publish the message to a Topic and receiver application will receive the message by subscribing … Continue reading Can Spring Boot Microservices Communicate Through GCP Pub/Sub? Explore Now!
