Posts

Introduction on Different Components of Microservices

Image
Spring Cloud Components: Configuration:  Using Spring  cloud config server . Service Discovery and Registry:  using  Eureka   server. API Gateway:  Using  Zuul API  or Spring  Cloud Gateway . Routing and messaging:  using   Feign API Tracing with request visualization:  Spring  cloud sleuth  and  Zipkin Circuit Breaker:   Hystrix . Spring Config Server:       S pring clouds config provides server and client-side support for externalized configuration in a distributed system. The default implementation of the server storage backed use git.  In another word, Spring cloud provides tools for developers to quickly build some of the common patterns in distributed system and it will enables us to quickly developed cloud-native applications. One of the  features is to maintain application configurations outside the application. ...

Overview on Spring Cloud

Image
Spring Cloud: S pring Cloud is a framework for building robust cloud applications. The framework facilitates the development of applications by providing solutions to many of the common problems faced when moving to a distributed environment. Applications that run with microservices architecture aim to simplify development, deployment, and maintenance. The decomposed nature of the application allows developers to focus on one problem at a time. Improvements can be introduced without impacting other parts of a system. Features of spring cloud: Intelligent routing and service discovery Service-to-Service Call Load Balancing Leadership Election Global Locks Distributed Configuration Distributed Messaging Advantages of Spring Cloud:  If we want to available many services in one application then the cloud-based application is an easy way. Spring Cloud works the same It is provided Cloud-service development.  It is Microservice-based architecture to ...

Overview On Microservices

Image
Monolithic architecture: Monolith means composed all in one piece. The Monolithic application describes a single-tiered software application in which different components combined into a single program from a single platform. Microservices: Microservices is an architectural style, approach to developing a single application as a smaller pieces of services where each services are running in its own process individually and communicate with each others. All smaller services are independently deplorable. The main idea behind microservice architecture is that applications are simpler to build and maintain when we broke down into the smaller pieces that work seamlessly together.Using microservices, we isolate software functionality into multiple independent modules that are individually responsible for performing precisely defined, standalone tasks. These modules communicate with each other through simple, universally accessible application programming interfaces (APIs)...

Overview on API

Image
What is API? Application Programming Interface(API) is a set of function that allows applications to access data and interact with external software components,OS or microservices. Application programming interfaces consist of two components: Technical specification describing the data exchange options between solutions with the specification done in the form of a request for processing and data delivery protocols. Software interface written to the specification that represents it. You may hear the term “microservices” come up in relation to API. These however, are not the same. Microservices are a style or architecture which divides functionality within a web application. While API is the framework which developers interact with a web application. Microservices can actually use API to communicate between each other. API lets a developer make a specific “call” or “request” in order to send or receive information. This communication is done using a programming la...

Easy way to learn Spring Data JPA,Hibernate Introduction

Image
What is JPA? The java persistence API is used to persist data between java object and relational database. JPA acts like a middle ware between object oriented domain models and relational database. Its just a specification of Java EE, its does not perform any operation by itself because its does not provides any implementation classes. The API jar just contains the set of interface which can use to implement the methods and persist data into the service layer. But we can't use JPA on its own. We need a JPA provider which implements the specification like ORM(Object Relational Mapping) tools like Hibernate,TopLink etc.   Object Relational Mapping(ORM):  Object Relational Mapping (ORM) is a functionality which is used to develop and maintain a relationship between an object and relational database by mapping an object state to database column. It is capable to handle various database operations easily such as inserting, updating, deleting etc. Wh...

Easy way to learn Spring boot: Introduction Part

Image
Step: 1 Introduction Part What is Spring Boot? Spring Boot is a most popular Spring  Framework that help us to create RAD (Rapid Application Development) in a  easier and faster way. Using Spring Boot framework we can create and run  both simple and web-based applications.  Spring Boot is the combination of  Spring Framework  and  Embedded Servers (Tomcat). Now a day we don't need to configure XML file too much. Using annotations we can perform every thing very easily. However, XML is used for configuring Spring's dependencies and so on. Why Should we use Spring Boot? Spring Boot is a Spring Framework with Embedded Servers . It provides an easier and faster way to set up, configure, and run both simple and web-based applications. The dependency injection approach is used in Spring Boot. It contains powerful database transaction management capabilities using Java frameworks like JPA/Hibernate ORM . It is a security f...