• 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

Exception Handling in Java: A Complete Guide to Java Exceptions

April 2, 2019 by javainterviewpoint Leave a Comment

Types of Exception - Exception Handling

Exception Handling is one of the most important feature which all the Java developers should know. In this article we will learn What is an exception Types of Java Exceptions, Exception Hierarchy 5 Essential keywords in Java Exception Handling How to handle exceptions in Java with examples. … [Read more...]

Java URL Class Example | Create, Read and Parse URL

March 25, 2019 by javainterviewpoint Leave a Comment

Java URL Class represents the URL [Uniform Resource Locator], through which you can locate and retrieve data from the network. The URL Class in Java enables us to get the data without the need to worry about the way to communicate with the server, or the protocol which needs to be used during the communication or the format of the message which will be returned. … [Read more...]

35 Star Pattern Programs In Java | Pattern Program

March 18, 2019 by javainterviewpoint 12 Comments

Star Pattern Programs In Java 3

In this article, we will learn to print the different Star Pattern Programs in Java. This is one of the popular Java pattern program interview question for fresher. The pattern program are the most recommended programs to enhance the logical thinking and for the better understanding of flow control. Lets look into the below possible Star Pattern Programs in Java which might … [Read more...]

Java RSA Encryption and Decryption Example | ECB Mode + 4096 Bits + OAEPWITHSHA-512ANDMGF1PADDING

March 11, 2019 by javainterviewpoint 1 Comment

RSA [Rivest Shamir Adleman] is a strong encryption and decryption algorithm which uses public key cryptography. RSA algorithm is an Asymmetric Cryptography algorithm, unlike Symmetric algorithm which uses the same key for both Encryption and Decryption we will be using two different keys. One key can be given to anyone [Public Key] and the other key should be kept private … [Read more...]

Spring Interceptor Example | HandlerInterceptor | HandlerInterceptorAdapter

March 4, 2019 by javainterviewpoint Leave a Comment

Spring Interceptor

Spring Interceptor is similar to a Filter, which is used to intercept the request and process them. Spring MVC allows you to intercept web requests for pre-handling and post-handling through Handler Interceptors. All the Interceptor class must either implement the HandlerInterceptor interface or extend the HandlerInterceptorAdapter class. Spring … [Read more...]

Factorial Program in Java [While Loop | For Loop | Do While Loop | Recursion]

February 25, 2019 by javainterviewpoint Leave a Comment

Factorial Program In Java

The factorial of n numbers can be denoted as n!, it is the product of all number less than or equal to n n! = 1 * 2 * 3* . . . . (n-2) * (n-1) * n In this article, we will create the Factorial Program in Java using the below 4 ways Using For loop Using While loop Using Do While loop Using Recursion … [Read more...]

Java URL Encode and Decode Example | URLEncoder & URLDecoder

February 18, 2019 by javainterviewpoint Leave a Comment

Java URL Encode

It is always a good practice to encode the URL or the Form parameters as it is vulnerable to attack. URLEncoder is the utility class provided by Java which can be used for HTML form encoding. The URLEncoder class converts any String into application/x-www-form-urlencoded. In this article we will learn about Java URL encode and decode using URLEncoder and URLDecoder. … [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 Security Custom Login Form Example | Java Configuration

January 29, 2019 by javainterviewpoint Leave a Comment

Spring Security Custom Login Form 1

In this Spring Security Custom Login Form Example, we will learn how to build a Spring MVC application which will be protected by Spring Security. We will be building our own login form rather than using the default form provided by Spring Security  … [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 Security REST Basic Authentication

January 1, 2019 by javainterviewpoint Leave a Comment

Spring Security Basic Authentication

In this article, let's learn how to  enable Spring Security REST Basic Authentication. We will be setting up the Spring Security using XML configuration. We will be building the Employee Management system where in which you will be able to Create an Employee, Get all the Employee / particular Employee details, Modify an existing Employee and Delete the Employee. … [Read more...]

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 29
  • Next Page »
Digital Ocean banner

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

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
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 | Contact Us

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