Chand Sheikh

Chand Sheikh

S06L02 – Project setup

Setting up a Java Web Project Table of Contents Introduction Setting up the Project in Java Understanding the Java Servlet: Home.java Key Components of a Servlet Conclusion Introduction In this article, we will guide you through setting up a Java…

S05L03 – Section wrap up

Understanding Controllers in Java Web Applications Table of Contents Introduction Understanding the Role of Controllers in Web Applications Overview of Controllers Purpose of MemberAreaController Purpose of SiteController Detailed Analysis of the Code MemberAreaController.java: Structure, Methods, and Functions SiteController.java: Structure, Methods,…

S03L01 – Updating application properties

Integrating H2 Database in Spring Boot Applications Table of Contents Introduction Setting Up the H2 Database in Spring Boot Project Overview H2 Database Overview Configuring Application Properties Application Properties Explained Customizing Spring Boot Settings Creating a Controller for Data Handling…

S02L02 – The template and external files

Integrating Templates with Spring Boot Table of Contents Introduction Setting Up Spring Boot with Templates Understanding Spring Boot Project Structure Creating Controllers for Template Integration Rendering HTML Pages with Thymeleaf Conclusion 1. Introduction Spring Boot simplifies the process of developing…

S01L02 – Spring Starter project

Getting Started with Spring Boot: Building a Simple Spring Starter Application Table of Contents: Introduction Setting Up a Spring Boot Project Understanding the Project Structure Exploring the SpringStarterApplication.java Running the Application Conclusion Introduction: Spring Boot is a powerful framework that…

S05L01 – SpringMVC minimal project

Spring MVC Minimal Project Setup Table of Contents: Introduction Project Setup Maven Dependencies Project Structure Spring MVC Minimal Setup MainController Views Conclusion Introduction Spring MVC (Model-View-Controller) is a framework that allows developers to build web applications with ease. It provides…

S04L02 – Constructor injection

Understanding Constructor Injection in Spring Framework Table of Contents Introduction to Constructor Injection Why Constructor Injection? Implementing Constructor Injection in Java (with examples) Pros and Cons of Constructor Injection Conclusion Introduction In the Spring Framework, Constructor Injection is one of…

S04L06 – Organizing the application

Organizing Java Web Applications Table of Contents Introduction Importance of Organizing Java Web Applications Benefits of Using Controllers Common Mistakes: Direct Linking vs. Using Controllers Understanding the Role of Controllers in Java The Purpose of Servlets as Controllers Example: SiteController.java…

S04L05 – User logout using sessions

Java User Logout Using Sessions Table of Contents Introduction Session Management in Java: An Overview User Logout Implementation Using Sessions Advantages and Disadvantages of Session-Based Logout Conclusion Introduction Session management plays a crucial role in web applications, enabling the server…

S04L01 – Spring beans

Understanding Spring Beans Table of Contents Introduction What is a Spring Bean? Different Configurations of Spring Beans Singleton Scope Prototype Scope Custom Scopes Practical Example with Java Code Explanation of Car.java Interface Implementation in Engine.java, Corolla.java, Swift.java, V6.java, and V8.java…

S03L03 – Qualifier annotation

Understanding Qualifier Annotations in Spring Table of Contents Introduction to Qualifier Annotations Understanding the Qualifier Annotation in Spring Program Code Example How Qualifier Annotation Solves Ambiguity When to Use Qualifier Annotations Conclusion Introduction to Qualifier Annotations In the Spring framework,…

S04L04 – Logout using cookie

Handling Logout Functionality Using Cookies in Java Table of Contents Introduction Handling Logout Functionality Using Cookies in Java Understanding MemberAreaController.java and SiteController.java Conclusion Introduction In this article, we explore how to implement user logout functionality using cookies in Java, particularly…

S03L02 – Autowire scenarios

Autowiring in Spring: Scenarios and Implementations Table of Contents Introduction What is Autowiring? Types of Autowiring in Spring No Autowiring ByType ByName Constructor Practical Example with Java Code Explanation of Car.java Interface Implementation in Engine.java, Corolla.java, and Swift.java Conclusion 1.…

S03L01 – Autowire introduction

Understanding Autowiring in Spring Framework Table of Contents Introduction to Autowiring Types of Autowiring in Spring Implementing Autowiring in Java (with examples) Pros and Cons of Autowiring Conclusion Introduction In the Spring Framework, Autowiring is a powerful feature that enables…

S02L03 – Inversion of control

Understanding Inversion of Control (IoC) in Spring Table of Contents Introduction Core Concepts of Inversion of Control How IoC Works in Spring Framework Code Examples and Step-by-Step Explanation Conclusion Introduction Inversion of Control (IoC) is a critical principle in software…

S02L02 – Dependency injection continues

Understanding Dependency Injection with Practical Examples Table of Contents Introduction What is Dependency Injection? Types of Dependency Injection Code Walkthrough Benefits of Dependency Injection Conclusion 1. Introduction Dependency Injection (DI) is a core concept in modern Java development, especially within…

S01L02 – Setting the IDE

Setting Up Eclipse IDE for Java Development Table of Contents: Introduction What is an IDE and Why Use Eclipse for Java Development? Setting Up Eclipse IDE Installing Eclipse IDE Configuring Eclipse for Java Development Launching Eclipse as Administrator Creating Your…