Angular Handy Code Following components are involved in installing and using angular Node, npm(node packaging manager), ng(angular) Node – server (where over angular application deployed locally to run and test) NPM – Responsible to install angular and all other libraries, packages, and packaging deployment jar etc. 1. After installing node, npm in your machine to download and install angular we need Angular CLI tool, which will help us to create angular application Angular CLI (command line interface) is a tool to install which will create and run angular application. Below command will install angular in your local machine. Cmd: npm -g angular@cli 2. After installing angular we can use “ng” commands to create angular application and adding features through terminal - to create new application cmd: ng new <project name> - to create compon...
Spring Boot Handy Code Notes from infybuzz tutorial 1. Spring Cloud - It is providing projects to quickly create micro services - Official website, https://spring.io/projects/spring-cloud 2. We learning following Spring cloud projects - Spring cloud web client (this will help in communicating between 2-different micro services without rest template in a programmatic way , for more details click here) - Spring cloud open feign (this will help in communicating between 2-different micro services without rest template in declarative way , for more details click here) - Spring cloud netfilx Eureka (this is service discover and registry s...
Lambda Expression - it helps in implementation of functional interface, lambda expression is treated as a function, so compiler does not create .class file Java Method References – Method reference is used to refer method of functional interface or class. It is compact and easy form of lambda expression. There are 3-types of method references in java 1. Reference to a static method 2. Reference to a instance method 3. Reference to a constructor Syntax for above each type of method references. 1. Syntax of static Method Reference <Class name> :: <static method name> 2. Syntax of instance Method Reference <Class name> :: <instance method name> 3. Syntax of Constructor Method Reference <Class name> :: <new> (it is...
Comments
Post a Comment