• 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 Boot JPA One To One Example with MySQL | Unidirectional & Bidirectional

September 25, 2019 by javainterviewpoint Leave a Comment

Spring Boot JPA One To One Example

In this article, we will learn how to create a Spring Boot JPA One To One mapping using Spring Data JPA with Foreign Key. In this approach, we will have two tables with different primary keys. The primary key of the STUDENT table (ID) will act as a foreign key for the PASSPORT table and PASSPORT table will have its own primary key (ID). … [Read more...]

Spring Data REST Example – Spring Boot RESTful API + CRUD

July 24, 2019 by javainterviewpoint Leave a Comment

Spring Data REST Example

Spring Data REST is built on top of the Spring Data repositories and it automatically exposes the repositories as REST services. Spring Data REST takes the features of Spring HATEOAS and Spring Data JPA and combines them together, using a Strategy called "RepositoryDetectionStrategy" to export the repository as a REST resource. In this Spring Data REST Example, let's create a … [Read more...]

Spring Boot MVC | Spring Boot JSP Example

July 17, 2019 by javainterviewpoint Leave a Comment

Spring Boot MVC

In this article, we will learn how to create a Spring Boot MVC application, which is simply a Spring MVC application using Spring Boot. Unlike a typical Spring Boot application, we will be rendering the JSP page to the user. Let's get started. … [Read more...]

Spring Boot Exception Handling – @RestControllerAdvice + @ExceptionHandler

February 13, 2019 by javainterviewpoint 2 Comments

Spring Boot Exception Handling

A good REST API should handle the exception properly and send the proper response to the user. The user should not be rendered with any unhandled exception. In this Spring Boot Exception Handling article, we will learn how to handle in exception in Spring Boot RESTful Web Services using @RestControllerAdvice and @ExceptionHandler … [Read more...]

Spring Boot Security Database Authentication Example

January 21, 2019 by javainterviewpoint Leave a Comment

Spring Boot Security Database Authentication Example

In this Spring Boot Security Database Authentication Example, we will learn how to secure REST API using Spring Boot Database Authentication. All the user who tries to access the secured resource will be authenticated and authorized using the Database Authentication. … [Read more...]

Spring Boot Security Basic Authentication – Secure REST API

January 9, 2019 by javainterviewpoint Leave a Comment

Spring Boot Basic Authentication

In this post, we will learn how to secure REST API using Spring Boot Security Basic Authentication. With the security in place our application will be providing the data to the user who is authenticated through Basic Authentication. In order to access a secured resource the user has to provide the request to our API with the header information containing the username and … [Read more...]

Spring Boot @ConfigurationProperties Example

December 24, 2018 by javainterviewpoint Leave a Comment

Spring Boot ConfigurationProperties Example

The Spring Boot @ConfigurationProperties annotation enables us to bind the external property file or YAML file to a Java Bean Object. In this article let's learn how to use Spring Boot @ConfigurationProperties annotation. … [Read more...]

Spring Boot auto-configuration | @SpringBootApplication Annotation Example

October 10, 2018 by javainterviewpoint Leave a Comment

SpringBootApplication

Spring Boot provides the @SpringBootApplication annotation [from Spring Boot 1.2.0] in order to enable auto-configuration feature, the @SpringBootApplication annotation performs the work of the three annotations @Configuration, @ComponentScan and @EnableAutoConfiguration. @Configuration - Allows you to register beans or import additional configuration class … [Read more...]

Spring Boot Thymeleaf Example

September 10, 2018 by javainterviewpoint Leave a Comment

Spring Boot Thymeleaf Example

Thymeleaf is a Java template engine for processing  HTML, XML, JavaScript, CSS, and text. In this Spring Boot Thymeleaf Example, we will learn how to configure Thymeleaf with Spring Boot Application and build a simple Employee Details app. … [Read more...]

Spring Boot JPA Tutorial | Spring Data JPA – CrudRepository

July 16, 2018 by javainterviewpoint Leave a Comment

Spring Boot JPA

In this Spring Boot JPA Tutorial, we will integrate Spring Data JPA into our Spring Boot application. Our Employee management application will be extending CRUDRepository which in turn extends the Repository interface. … [Read more...]

Spring Boot Tomcat JDBC Connection Pool Example | Oracle

February 26, 2018 by javainterviewpoint Leave a Comment

Tomcat JDBC Connection Pool

In this Spring Boot Tomcat JDBC Connection Pool Example, we will learn how to implement Tomcat JDBC Connection Pool in a Spring Boot application. The Tomcat JDBC Connection Pool is an alternative to Apache Commons DBCP connection pool. Tomcat JDBC Connection Pool is extremely simple due to the very simplified implementation, the line count and source file count are very low … [Read more...]

Spring Boot Logging – Logback | RollingFileAppender + SpringProfile

February 15, 2018 by javainterviewpoint Leave a Comment

Spring Boot Logging

Logback is the successor of the popular logging framework log4j. Logback is an excellent choice for enterprise applications since it’s fast, simple yet powerful.  Common Logging will be automatically included when we use any of the Spring Boot Starter dependencies since they internally include spring-boot-starter-logging. In this Spring Boot Logging - Logback example, we will … [Read more...]

  • 1
  • 2
  • 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 ·