Posts

Showing posts from July, 2022

Angular Pie Chart

Image
To start implementing, visit the below link:  https://www.npmjs.com/package/ng2-charts/v/3.0.0-rc.2 and follow the instructions it mentions, going with the flow I will show you how it impacts your projects File structure: You can install ng2-charts using npm npm install ng2-charts@next --save Effect: Two folders gets added to node_modules You need to install and include Chart.js library in your application (it is a peer dependency of this library) (more info can be found in the official chart.js documentation) npm install chart.js --save API Import import { ChartsModule } from 'ng2-charts'; // In your App's module: imports: [    ChartsModule ] Chart types There is one directive for all chart types: baseChart, and there are 8 types of charts: line, bar, radar, pie, polarArea, doughnut, bubble and scatter.  

Angular environment file infomation in angular.json

 fileReplacements": [                 {                   "replace": "src/environments/environment.ts",                   "with": "src/environments/environment.prod.ts"                 }

Rest API Interview

  15 Rest API Interview Question & Answers (2022 Update) 1) Explain what is REST and RESTFUL? REST represents Representational State Transfer; it is a relatively new aspect of writing web API. RESTFUL is referred to web services written by applying the REST architectural concept are called RESTful services, it focuses on system resources and how the state of resources should be transported over HTTP protocol to different clients written in a different language. In RESTFUL web service HTTP methods like GET, POST, PUT, and DELETE can be used to perform CRUD operations. 2) Explain the architectural style for creating web API? The architectural style for creating web API is HTTP for client-server communication XML/JSON as a formatting language Simple URI as the address for the services Stateless communication 3) Mention what tools are required to test your web API? SOAPUI tool for SOAP WS and Firefox “poster” plugin for RESTFUL services. 4) Mention what are the HTTP methods supported b

20 Hibernate Questions

Image
  I expect that you have some Hibernate experience and knowledge before you go through this list of questions otherwise it would be quite back and forth. If you are a beginner to Hibernate, I suggest you first go through a course like  Spring and Hibernate for Beginners  which provides all the fundamental knowledge in a quick time. After that you can better understand the points the interviewers are looking and these questions will also make sense to you. 20 Hibernate Questions and Answers from Java JEE Interviews Here is my selected list of 20 Hibernate-based questions for Java developers. It contains questions from Hibernate fundamentals, one-to-one, and one-to-many mappings, caching, Hibernate vs JDBC comparison, pros and cons of Hibernate, known problems with Hibernate, and Performance improvement. 1. What is Hibernate? Hibernate is an ORM (Object-relational Mapping) framework, which allows the developer to concentrate on business logic by taking care of the persistence of data by

Microservices Interview Questions

Image
  Top Microservices Interview Questions According to Gartner, microservices are the new application platform for cloud development. Microservices are deployed and managed independently, and once implemented inside containers they have very little interaction with the underlying OS. So, if you are planning to start your career in Microservices and you wish to know the skills related to it, now is the right time to dive in, when the technology is in its nascent state. Hence, to help you prepare for your interviews, I have come up with a Microservices Interview Questions and Answers blog. In this Microservices interview questions blog, I have collected the most frequently asked questions by interviewers. These questions are collected after consulting with  Microservices Certification Training  experts. Want to Upskill yourself to get ahead in your Career? Check out the  Top Trending Technologies  Article. In case you have attended any Microservices interview in the recent past, do paste t