• Java
    • JAXB Tutorial
      • What is JAXB
      • JAXB Marshalling Example
      • JAXB UnMarshalling Example
  • Spring Tutorial
    • Spring Core Tutorial
    • Spring MVC Tutorial
      • Quick Start
        • Flow Diagram
        • Hello World Example
        • Form Handling Example
      • Handler Mapping
        • BeanNameUrlHandlerMapping
        • ControllerClassNameHandlerMapping
        • SimpleUrlHandlerMapping
      • Validation & Exception Handling
        • Validation+Annotations
        • Validation+ResourceBundle
        • @ExceptionHandler
        • @ControllerAdvice
        • Custom Exception Handling
      • Form Tag Library
        • Textbox Example
        • TextArea Example
        • Password Example
        • Dropdown Box Example
        • Checkboxes Example
        • Radiobuttons Example
        • HiddenValue Example
      • Misc
        • Change Config file name
    • Spring Boot Tutorial
  • Hibernate Tutorial
  • REST Tutorial
    • JAX-RS REST @PathParam Example
    • JAX-RS REST @QueryParam Example
    • JAX-RS REST @DefaultValue Example
    • JAX-RS REST @Context Example
    • JAX-RS REST @MatrixParam Example
    • JAX-RS REST @FormParam Example
    • JAX-RS REST @Produces Example
    • JAX-RS REST @Consumes Example
    • JAX-RS REST @Produces both XML and JSON Example
    • JAX-RS REST @Consumes both XML and JSON Example
  • Miscellaneous
    • JSON Parser
      • Read a JSON file
      • Write JSON object to File
      • Read / Write JSON using GSON
      • Java Object to JSON using JAXB
    • CSV Parser
      • Read / Write CSV file
      • Read/Parse/Write CSV File – OpenCSV
      • Export data into a CSV File
      • CsvToBean and BeanToCsv – OpenCSV

JavaInterviewPoint

Java Development Tutorials

Spring MVC Tutorial

In this Spring MVC Tutorial, we will learn about Spring MVC Framework’s Model View Controller architecture, which is built on Spring Inversion of Control(Ioc)/Dependency Injection (DI). IoC feature of the Spring MVC Framework enables us to develop highly loosely coupled and flexible web applications.MVC Pattern enables us to layer an application by Separating Business(Model), Presentation(View) and Control Flow(Controller).

  • Model contains the business logic and in general, it consists of POJO’s.
  • View component processes the model data and generates the output back to the user.
  • Controller is responsible for processing the user’s request and the interaction between View component and Model.

Spring MVC Tutorial

Quick Start

Spring MVC Flow Diagram

MVC is a design pattern which provides a solution for layering an application by separating Business(Model), Presentation(View) and Control Flow(Controller).

Spring 3 MVC Hello World Example

In this example, we will learn how to create a simple hello world example in Spring 3.0

Spring MVC Form Handling Example

In this example, we will learn how to write a simple web based application which makes use of HTML forms using Spring Web MVC framework.

Spring MVC 5 Thymeleaf 3 Hello World

Thymeleaf is a Java template engine for processing  HTML, XML, JavaScript, CSS, and text. Let’s learn how to configure Thymeleaf with Spring MVC

Spring MVC Handler Mapping

Spring MVC BeanNameUrlHandlerMapping Example

In BeanNameUrlHandlerMapping in this article. Here we will be mapping each request to a Bean directly.

Spring MVC ControllerClassNameHandlerMapping Example

ControllerClassNameHandlerMapping uses a convention to map the requested URL to the Controller. It will take the Controller name and converts them to lower case with a leading “/”

Spring MVC SimpleUrlHandlerMapping Example

SimpleUrlHandlerMapping is the simplest of all handler mappings which allows you specify URL pattern and handler explicitly

Spring MVC Validation & Exception Handling

Spring MVC Form Validation Tutorial (With Annotations)

In this tutorial, we will learn how to validate the Spring MVC application using the Bean Validation ( JSR 303 Bean Validation).

Spring MVC Form Validation Tutorial (With Annotations and ResourceBundle)

Spring MVC Form Validation with Annotation and Resource Bundle

Spring MVC Exception Handling – @ExceptionHandler

Usage of @ExceptionHandler annotation to handle the Exception.

Spring MVC Exception Handling – @ControllerAdvice and @ExceptionHandler

Usage of @ControllerAdvice, which acts a Global Exception Handler for all the controller you have.

Spring MVC Custom Exception Handling

Handling Custom Exception along with @ControllerAdvice and @ExceptionHandler

Spring MVC Form Tag Library

Spring MVC Textbox Example

We will be using <form:input/> tag to render a Textbox in the JSP

Spring MVC Password Example

We will be using <form:password/> tag to render a Password field in the JSP

Spring MVC Dropdown Box Example

We will be using <form:select/> tag to render a Dropdown Box in the JSP

Spring MVC Checkbox And Checkboxes Example

We will be using <form:checkbox/> and  <form:checkboxes/>tag to render single and multiple checkboxes in the JSP

Spring MVC Radiobutton And Radiobuttons Example

We will be using <form:radiobutton/> and  <form:radiobuttons/>tag to render single and multiple radio buttons in the JSP

Spring MVC TextArea Example

We will be using <form:textarea/> tag to render a TextArea in the JSP

Spring MVC HiddenValue Example

We will be using <form:hidden/> tag to render a Hidden Field in the JSP

Angular Integration

AngularJS Spring MVC integration

In this tutorial, we will learn how to integrate AngularJS with Spring MVC application.

AngularJS Spring MVC CRUD Example – $http service

In this post, we will learn how to integrate AngularJS with Spring MVC and perform CRUD operation using $http service.

Spring Security

Spring Security Tutorial Hello World Example – Using XML Configuration

In this Spring Security Tutorial, we will build a Simple Spring MVC Hello World application integrated with Spring Security features using XML Configurations

Spring Security Custom Login Form Example – XML Configuration

In this Security tutorial, we will build a build our own login for our Spring Security Custom Login Form application

Spring Security Annotation Configuration Example – HelloWorld

In this Spring Security Tutorial, we will build a Simple Spring MVC Hello World application integrated with Spring Security features using Annotations

Misc

Spring MVC CRUD Example with MySql + JdbcTemplate

In this Spring MVC CRUD Example, we will be building a simple web-based Spring MVC Application (Employee Management) which has the ability to perform CRUD Operations using Spring JdbcTemplate

Change Spring Context Configuration file name

In this tutorial, we will learn how to change the name of the Configuration file which is used in Spring.

Spring MVC Difference between context:annotation-config vs context:component-scan

In this tutorial we will see the difference between <context:annotation-config> and <context:component-scan> tags and use of them. so that we can use them effectively.

Spring MVC Multiple File Upload – CommonsMultipartResolver

In this tutorial, we will learn how to upload multiple files in Spring MVC using CommonsMultipartResolver

Spring MVC Internationalization i18n Example – SessionLocaleResolver

In this tutorial, lets add the Internationalization support to our Spring MVC application

Java Basics

  • JVM Architecture
  • Object in Java
  • Class in Java
  • How to Set Classpath for Java in Windows
  • Components of JDK
  • Decompiling a class file
  • Use of Class.forName in java
  • Use Class.forName in SQL JDBC

Oops Concepts

  • Inheritance in Java
  • Types of Inheritance in Java
  • Single Inheritance in Java
  • Multiple Inheritance in Java
  • Multilevel Inheritance in Java
  • Hierarchical Inheritance in Java
  • Hybrid Inheritance in Java
  • Polymorphism in Java – Method Overloading and Overriding
  • Types of Polymorphism in java
  • Method Overriding in Java
  • Can we Overload static methods in Java
  • Can we Override static methods in Java
  • Java Constructor Overloading
  • Java Method Overloading Example
  • Encapsulation in Java with Example
  • Constructor in Java
  • Constructor in an Interface?
  • Parameterized Constructor in Java
  • Constructor Chaining with example
  • What is the use of a Private Constructors in Java
  • Interface in Java
  • What is Marker Interface
  • Abstract Class in Java

Java Keywords

  • Java this keyword
  • Java super keyword
  • Final Keyword in Java
  • static Keyword in Java
  • Static Import
  • Transient Keyword

Miscellaneous

  • newInstance() method
  • How does Hashmap works internally in Java
  • Java Ternary operator
  • How System.out.println() really work?
  • Autoboxing and Unboxing Examples
  • Serialization and Deserialization in Java with Example
  • Generate SerialVersionUID in Java
  • How to make a class Immutable in Java
  • Differences betwen HashMap and Hashtable
  • Difference between Enumeration and Iterator ?
  • Difference between fail-fast and fail-safe Iterator
  • Difference Between Interface and Abstract Class in Java
  • Difference between equals() and ==
  • Sort Objects in a ArrayList using Java Comparable Interface
  • Sort Objects in a ArrayList using Java Comparator

Follow

  • Coding Utils

Useful Links

  • Spring 4.1.x Documentation
  • Spring 3.2.x Documentation
  • Spring 2.5.x Documentation
  • Java 6 API
  • Java 7 API
  • Java 8 API
  • Java EE 5 Tutorial
  • Java EE 6 Tutorial
  • Java EE 7 Tutorial
  • Maven Repository
  • Hibernate ORM

About JavaInterviewPoint

javainterviewpoint.com is a tech blog dedicated to all Java/J2EE developers and Web Developers. We publish useful tutorials on Java, J2EE and all latest frameworks.

All examples and tutorials posted here are very well tested in our development environment.

Connect with us on Facebook | Privacy Policy | Sitemap

Copyright ©2023 · Java Interview Point - All Rights Are Reserved ·