• 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 RESTful Web Services CRUD Example with Hibernate + RestTemplate

August 14, 2017 by javainterviewpoint 2 Comments

Spring RESTful Web Services CRUD

In this Spring REST tutorial, we will learn how to perform CRUD Operations (Create, Read, Update, Delete) using Spring RESTful Web Services with the support of Hibernate JPA. In REST, manipulation of the resources is performed based on the common set of HTTP verbs. POST -  To Create a resource GET - To Retrieve a resource PUT - To Update a resource DELETE - To … [Read more...]

Springfox Swagger 2 for Spring RESTful Web Services

July 31, 2017 by javainterviewpoint Leave a Comment

Swagger 2 for Spring RESTful Web Services

In this tutorial, we will look at Swagger 2 for Spring RESTful web services. Swagger is a specification for documenting REST API.It provides tools to generate documentation from our REST code. Swagger scans the code and exposes the documentation of the URLs, any clients which consume our REST Web services knows which HTTP method call on which URL, which input send, what will be … [Read more...]

Spring RESTful Web Services Hello World XML Example

November 24, 2016 by javainterviewpoint Leave a Comment

Spring RESTful Web Services

In this Spring RESTful Web Services example, we will learn how to create a RESTful Web Services directly through Spring Framework rather than creating it through REST implementation such as Jersey. In this article, we will create a REST service which returns XML representation of the Object. … [Read more...]

Jersey RESTful Web Services Client – Getting List of Object (GenericType)

October 27, 2016 by javainterviewpoint Leave a Comment

RESTful Web Services Client

Jersey RESTful Web Services Client can consume XML , JSON and many other MediaType responses from a RESTful web service. There is a drawback in this approach, suppose if you have a RESTful service which returns a list of all employees in XML format. Let's take a look into the below example … [Read more...]

Jersey Jackson JSON Tutorial

July 15, 2016 by javainterviewpoint Leave a Comment

Marshal Java Object to JSON

In this Jersey REST tutorial we will learn how to integrate Jersey REST Client and Jackson to build a RESTful Web service which produces and consumes JSON Type. We use Jackson for Marshalling Java Object to JSON and vice-versa(Unmarshalling JSON back to Java Object) in a JAX-RS Web Service. … [Read more...]

Spring REST Hello World Example – JSON and XML responses

April 5, 2016 by javainterviewpoint 2 Comments

Spring Rest Json

As we already know Spring Core, Spring MVC and REST Web service. Now its our turn to learn Spring with REST Web services as a single entity. In this Spring REST Example we will be learning how to produce JSON and XML response by creating a simple REST service using Spring 4. … [Read more...]

RESTful Java client with RESTEasy client

March 21, 2016 by javainterviewpoint 1 Comment

Spring 4 Hello World Example

Previously we have learnt how to create a RESTful Web Service using RESTEasy api. In this RESTEasy client tutorial we will learn how to Consume REST Web Service using RESTEasy client. … [Read more...]

RESTEasy Hello World Example with Apache Tomcat

March 15, 2016 by javainterviewpoint Leave a Comment

RESTEasy HelloWorld Example

RESTEasy is one of the implementation of JAX-RS specification provided by  JBOSS for building RESTful Web Services. In this tutorial we will create a simple hello world web service with the JAX-RS reference implementation RESTEasy. … [Read more...]

RESTful Java Client With Jersey Client

March 8, 2016 by javainterviewpoint Leave a Comment

Till now we have learnt on how to create a RESTful web service and we have tested it using "Postman Client".In this tutorial we will create a simple Jersey client to connect to our REST web service. We will be using JAX-RS Client API for creating the REST client. … [Read more...]

JAX-RS REST @Consumes both XML and JSON Example

November 25, 2015 by javainterviewpoint Leave a Comment

Consumes_XML1

Previously we have learnt how to use @Produces annotation, Consuming JSON or Consuming XML separately. We have consumed either xml or json request but not both xml and json in a single method. In this example we will learn how to consume multiple media type which the client is giving as input, lets see how we can achieve it. … [Read more...]

JAX-RS REST @Produces both XML and JSON Example

November 12, 2015 by javainterviewpoint Leave a Comment

Produces_XML1

In my previous article we have learnt how to use @Produces annotation. We have produced either xml or json response but not able to produce both xml and json in a single method. In this example we will learn how to produce multiple media type response depending upon the clients request we will produce response, lets see how we can achieve it. … [Read more...]

JAX-RS REST @Consumes Example

November 5, 2015 by javainterviewpoint Leave a Comment

Previously we have learnt about how to produce different types of responses using @Produces annotation, In this article we will learn how to consume different types of request from the user using @Consumes annotation. @Consumes annotation is used to specify the MIME media types that a resource can consume. @Consumes can be applied at both class level and method level, If … [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 ©2023 · Java Interview Point - All Rights Are Reserved ·