Posts

Showing posts from March, 2023

SPRING

Spring was developed by Rod Johnson in 2003.   Spring framework makes the easy development of JavaEE application. Spring is a lightweight framework. Spring can be thought of as a framework of frameworks because it provides support to various frameworks such as Struts, Hibernate, Tapestry, EJB, JSF, etc. The Spring framework comprises several modules such as IOC, AOP, DAO, Context, ORM, WEB MVC etc. Inversion Of Control (IOC) and Dependency Injection : These are the design patterns that are used to remove dependency from the programming code. They make the code easier to test and maintain. Dependency Injection (DI) is a design pattern that removes the dependency from the programming code. Dependency Injection makes our programming code loosely coupled. Spring framework provides two ways to inject dependency 1) By Constructor 2) By Setter method IOC makes the code loosely coupled. In Spring framework, IOC container is responsible to inject the dependency. There are two types of IoC...

REACTJS

ReactJS is a declarative, efficient, and flexible JavaScript library for building reusable UI components. Created by Jordan Walke. Facebook developed ReactJS in 2011 in its newsfeed section, but it was released to the public in the month of May 2013. Initially developed and maintained by Facebook and was later used in its products like WhatsApp & Instagram. A ReactJS application is made up of multiple components. Each component responsible for outputting a small, reusable piece of HTML code. These Components can be nested with other components to allow complex applications to be built of simple building blocks.   ReactJS uses virtual DOM based mechanism to fill data in HTML DOM. The virtual DOM works fast as it only changes individual DOM elements instead of reloading complete DOM every time. DOM (Document Object Model) is an object which is created by the browser each time a web page is loaded. It dynamically adds or removes the data at the back end. When any modification...

NODEJS

Node.js was developed by Ryan Dahl in 2009 Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Node.js = Runtime Environment + JavaScript Library Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux. Node.js also provides a rich library of various JavaScript modules which simplifies the development of web applications  Use Node.js for: 1) I/O bound Applications 2) Data Streaming Applications 3) Data Intensive Real-time Applications (DIRT) 4) JSON APIs based Applications 5) Single Page Applications Not to Use Node.js for CPU intensive applications. Node.js is 1) an open source s...

Core Java

Image
Java is a programming language and a platform. Platform: Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform. Java is a high level, robust, object-oriented and secure programming language. Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995 Java was developed by James Gosling, who is known as the father of Java, in 1995. Types of Java Applications: 1) Standalone Application 2) Web Application 3) Web Application 4) Mobile Application Java Platforms / Editions: There are 4 platforms or editions of Java: 1) Java SE (Java Standard Edition) 2) Java EE (Java Enterprise Edition) - used to develop web and enterprise applications. 3) Java ME (Java Micro Edition) - It is a micro platform that is dedicated to mobile applications. 4) JavaFX - It is used to develop rich internet applications. It uses a lightweight user interface API. What happens ...