In this article, we will see about the concepts of Inversion of Control(IoC) and Dependency Injection(DI), as well as take a look at how these are implemented in the Spring framework.

Introduction: Inversion of Control (IoC) and Dependency Injection (DI), related to each other, The main goal of the Inversion of control and Dependency Injection is to remove dependencies of classes in our application. This makes the system more decoupled maintainable and loosely coupled. In Spring core, the core container module provides essential functionality. The BeanFactory, ApplicationContext is a component of the core container and the Inversion of Control (IoC)…


In this article, we will see about coding standards in java programming.

Why coding standard is needed?

Using good programming style, common idioms, and best practices is essential to produce reliable software efficiently. Good software is quicker to build, cheaper to maintain, and more fun (or at least less difficult) to work with. But no set of rules can cover all situations. You must also have guiding principles. A good start would be to use the following.

Readability: Make your program as readable as possible ( good names, spacing, etc).

Simplicity: Don’t add unnecessary complications and duplication.

Convention: Use standard conventions and good practices as…


In this article, we will see about Servlet and JSP one by one.

INTRODUCTION TO SERVLET:

Servlets provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI programs. Servlets have access to the entire family of Java APIs, including the JDBC API to access enterprise databases.

What are Servlets?

Java Servlets are programs that run on a Web or Application server and act as a middle layer between a request coming from a Web browser or other HTTP client and databases or applications on the HTTP server.

Using Servlets, you can collect input…


This article explains database normalization terminology. A basic understanding of this terminology is helpful when discussing the design of a relational database.

Normalization In Database
Normalization

Normalization is a database design technique that organizes tables in a manner that reduces or removes redundancy and dependency of data.

It divides the larger tables into smaller tables and links them using well-structured relations.

** However, in most practical applications, normalization achieves its best in the 3rd Normal form.

A relation that contains minimal data redundancy and allows users to insert, delete, and update rows without causing data inconsistencies.

The goal is to avoid (minimize) anomalies:

Insertion…


In this article, we will see what are Exception Handling Concept in java.

Here, First we need understand what is Exception, Advantage of Exceptions , hierarchy of Exception and Error.

Exception:

“An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of program’s instructions.”

In other words you to say abnormal condition of program knows as Exception.

So in java handle this disrupts or error using some concept(throw, throws, try, catch, finally block etc.) knows as Exception Handling.

Exception mechanism to handle the runtime errors so that normal flow of the set…


Oops In Java

Object-oriented programming based on real word entities. Like example: laptop, marker, pen, mobile, fan etc. Object-oriented programming is a method of programming based on a hierarchy of classes, and well-defined and cooperative objects. Mainly four types feature of oops polymorphism, inheritance, abstraction, encapsulation.

Here first need to understand what is an object and classes.

What is an Object?

Object is a real world entities. which contains properties(state), behaviour and identities. Like example: pen, So here body, refill, colour is a properties(state) of pen, writing is a behaviour of pen and unique id is identities of pen. In programming language properties define as a data…

Satyendra Kumar Gupta

Software Engineer Trainee

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store