• 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 CRUD Example with JdbcTemplate + Maven + Oracle

May 9, 2017 by javainterviewpoint Leave a Comment

Spring CRUD Example

In this Spring CRUD Example, we will build a Simple Spring Application and perform CRUD operations using Spring JdbcTemplate. We will create a simple Employee management application which has abilities to create a new employee, update the existing employee, get a particular employee/ all employee and finally delete the existing employee. … [Read more...]

Spring JdbcTemplate Example + JdbcDaoSupport

April 25, 2017 by javainterviewpoint Leave a Comment

Spring JdbcTemplate Example

Spring framework provides excellent support to JDBC, it provides a super powerful utility class called "JdbcTemplate" which helps us avoid boiler-plate code from our database operations such as Creating Connection, Statement, Closing the Resultset and Connection, Exception handling, Transaction management etc. In this Spring JdbcTemplate Example, let's understand how … [Read more...]

Spring Boot – How to Change Embedded Tomcat default port

April 17, 2017 by javainterviewpoint 2 Comments

Change Embedded Tomcat default port

By default, the embedded tomcat server of Spring Boot application will be starting at port 8080. In this article, we will learn how to change embedded Tomcat default port using one of the following approaches Using application.properties or application.yml Implementing EmbeddedServletContainerCustomizer interface Using SpringApplication class Change port directly … [Read more...]

Spring Boot CommandLineRunner and ApplicationRunner

March 20, 2017 by javainterviewpoint Leave a Comment

Spring Boot CommandLineRunner

Whenever you need, to perform a specific task once after all the Spring Beans are created and the Application Context has been created then you can implement ApplicationRunner or CommandLineRunner interface. Both the interfaces works the same way and has a single run() method. A similar implementation is already there in Spring and many people would have known it … [Read more...]

How to Create Deployable WAR | Spring Boot | SpringBootServletInitializer

March 14, 2017 by javainterviewpoint Leave a Comment

Spring Boot Deployable WAR

Previously we have learnt how to build a Spring Boot Hello World application using Maven and through Eclipse. In this Spring Boot example, we will be building the same hello world application with a slight difference instead of building an executable JAR we will be building a WAR file. We will be extending SpringBootServletInitializer in order to create deployable WAR file. … [Read more...]

Spring Security Annotation Configuration Example – HelloWorld

February 8, 2017 by javainterviewpoint Leave a Comment

Spring Security Hello World Annotation Example

Previously we have seen how to implement Spring Security in a Hello World program using XML configuration. In this Spring Security Annotation Configuration Example, we will be using the same example but instead of XML configuration, we will be configuring it through annotation. … [Read more...]

AngularJS Spring MVC integration

December 20, 2016 by javainterviewpoint Leave a Comment

AngularJS Spring MVC

In this tutorial, we will learn how to integrate AngularJS with Spring MVC application. We will be building a REST Web service using Spring MVC Controller (@RESTController), here AngularJS will request the data through the HTTP protocol and the RESTFul Web Service will return the JSON format response. Let's now dig into the code. … [Read more...]

Spring Security Custom Login Form Example – XML Configuration

December 8, 2016 by javainterviewpoint Leave a Comment

Spring Security Tutorial

In the previous Spring Security Hello World Example, we have built a simple Spring MVC Hello World application and took the advantage of Spring Security by using the default login form provided. In this tutorial, we will go a bit further and build our own login for our Spring Security Custom Login Form application. … [Read more...]

Spring Security Tutorial Hello World Example – Using XML Configuration

December 1, 2016 by javainterviewpoint Leave a Comment

Spring Security Tutorial 1

In this Spring Security Tutorial, we will build a Simple Spring MVC Hello World application integrated with Spring Security features. In this application, we will be dealing with two major security areas Authentication and Authorization. Authentication - It is nothing but validating whether the user is a valid user or not. Authorization -  Deciding whether the … [Read more...]

ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

September 7, 2016 by javainterviewpoint Leave a Comment

org.springframework.web.context.ContextLoaderListener

When you happen to work with a Spring MVC Framework based Web application. Then java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener is a common problem which will be occurring during deployment. Spring MVC throws this exception when it is not able to find the "org.springframework.web.context.ContextLoaderListener" class which loads up the all … [Read more...]

Spring PropertyPlaceholderConfigurer Example – Reading a Property File

August 5, 2016 by javainterviewpoint Leave a Comment

Spring PropertyPlaceholderConfigurer Example

It’s never a good practice to hard code and combine any environment related details such a username, password or file path etc. along with spring bean configuration. Usually in Java we will be having those details written in a separate property file and it will be read during the execution, the same can be followed in the spring as well using … [Read more...]

Spring Bean Creation – Static Factory Method & Instance Factory Method

July 26, 2016 by javainterviewpoint Leave a Comment

Instance Factory Method

In Spring we can create bean using Spring FactoryBean, FactoryBean is an interface and we need to give implementations for the methods in it. If you don't want to go by that methodology but still want Java Factory Pattern to be implemented then we can go for Static Factory Method and Instance Factory Method. The client who requests for an object can simply make a call to … [Read more...]

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next Page »

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 ©2021 · Java Interview Point - All Rights Are Reserved ·