Yearly Archive: 2014

JAXB Unmarshalling Example

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 …

JAXB Marshalling Example

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 Hello World Example

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 2X Tutorial

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 …

Spring 4 @Conditional Annotation

As part of my series on the new features in Spring Framework, version 4, I’d like to present how to use the new Condition interface and @Conditional annotation. @Conditional annotation– Spring 4 is introducing a …

RestController in Spring 4 MVC Framework

In this article, we will explore about the RestController by using @RestController annotation. One of the new features of API improvements is new @RestController annotation which is inherited from the @Controller annotation. Prior to the version …