dinesh Archive

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 …