Posts

Showing posts from February, 2021

Top Spring Cloud Interview Questions

Image
More Java interview questions and answers... Spring Boot actuator interview questions and answers Spring Webflux Interview Questions and Answers Spring Core - Interview Questions Top Spring Cloud Interview Questions Spring Security Interview Questions Spring MVC - Interview Questions Spring Webflux Interview Questions Top Spring Boot Interview Questions Spring Data JPA Interview Questions and Answers Top Mockito Interview Questions and Answers Java Collections Interview Questions Java Stream API Interview Questions and Answers - Frequently asked Quarkus - Interview questions and answers   Spring Interview questions and answers What is Spring Cloud? Spring Cloud provides implements to expeditiously build common patterns in distributed systems such as:  Configuration management Service discovery Circuit breaker Intelligent routing Micro-proxy A control bus  Global locks etc... Coordination of these systems leads to boilerplate patterns and utilizing Spring Cloud we can expeditiously enge

Spring Data JPA Interview Questions and Answers

1. What does JPA stand for? Java Persistence API 2. What's the difference between JPA and Spring Data JPA? JPA is a specification that standardizes the way Java Objects are mapped to a relational database system. Being just a specification, JPA consists of a set of interfaces, like EntityManagerFactory, EntityManager, and annotations that avail you to map a Java entity object to a database table. There are several JPA providers, like Hibernate, EclipseLink, or Open JPA which you can utilize. Spring Data JPA is not an implementation or JPA provider, it's just an abstraction used to significantly minimize the quantity of boilerplate code required to implement data access layers for various persistence stores. 3. What Is the Difference Between Hibernate and Spring Data JPA? Hibernate is a JPA implementation, while Spring Data JPA is a JPA Data Access Abstraction. Spring Data offers a solution to GenericDao custom implementations. It can withal engender JPA queries on your behalf t

Azure - Retail and e-commerce using Azure MySQL or Azure PostgreSQL

Image
Architecture - Retail and e-commerce using Azure MySQL Architecture - Retail and e-commerce using Azure  PostgreSQL Components Azure App Services: Azure App Service is an HTTP-predicated service for hosting web applications, REST APIs, and mobile back ends. We can develop in .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with facileness on both Windows and Linux-predicated environments. Azure Storage: An Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks. The storage account provides a unique namespace for our Azure Storage data that is accessible from anywhere in the world over HTTP or HTTPS. Data in our Azure storage account is durable and highly available, secure, and massively scalable. Azure Seach: Azure Search is a cloud search service that gives developers APIs and implements for building a rich search experience over private, heterogenous content in web, mobile, and enterprise applicat

Azure - Migration of legacy .NET applications to Azure

Image
Modern web applications must meet higher utilizer prospects and more preponderant demands than ever afore. By migrating legacy .NET applications to Azure, organizations can ascertain their apps are incredibly secure, flexible and available from anywhere in the world, and scalable to meet spikes in demand. Migration Process For example, a global online business needs to modernize its subsisting .NET application due to changes in customer demand. They can migrate their web and mobile application to the cloud for incremented efficiency, legerity, and scale, as well as abbreviated costs. Here, we show a proposed architecture: a plenarily managed platform for building, deploying, and scaling your web apps with Azure App Service and Azure SQL Database. For the data tier of the app, they can choose Azure SQL Database for its dynamic scalability, built-in perspicacity optimization, and global scalability and availability. They can choose Azure Database Migration Service to migrate th

Azure - Web application monitoring - Architecture

Image
For the below architecture, we choose readily available Azure services precisely because they are easy to consume. Other monitoring options are also available.   Data Flow A utilizer interacts with the application. The browser and app service emits telemetry. Application Insights accumulates and analyzes application performance, health, and utilization data. Developers and administrators can review performance, health, and utilization information. SQL Database emits telemetry. Azure Monitor accumulates and analyzes infrastructure metrics and quotas. Log Analytics amasses and analyzes logs and metrics. Developers and administrators can review performance, health, and utilization information. Components Web App Service: Azure Web Apps offering web applications hosting. It allows developers to focus on delivering business values rather than consuming time on Sever updates or OS patches. Applications built on Java, PHP, Python, or Node.js can additionally be