Monthly Archive: February 2014
A typical batch program generally reads a large number of records from a database, file, or queue, processes the data in some fashion, and then writes back data in a modified form to database,file-system, mailer …
In this tutorial we will discuss about the three most important interfaces of spring batch and an overview of Spring Batch item reader and writer with a sample application. One of the important goals of …
By the help of UnMarshaller interface, we can unmarshal(read) the object into xml document.In this example, we are going to convert simple xml document into java object. Let’s see the steps to convert XML document …
In this tutorial we are using Marshaller interface, we can marshal(write) the object into xml document. In the previous page, we have seen the simple example of converting object into xml. JAXB Marshalling Example In …
JAXB, stands for Java Architecture for XML Binding, using JAXB annotation to convert Java object to / from XML file. In this tutorial, we show you how to use JAXB to do following stuffs : …
JAXB stands for Java Architecture for XML Binding It provides mechanism to marshal (write) java objects into XML and unmarshal (read) XML into object. Simply, you can say it is used to convert java object …
@ControllerAdvice is introduced from the Spring 3.2 release. In this version 3.2 It is special type of @Component to declare the global exceptions handler. When you create a class with @ControllerAdvice and then write few methods …