Submitted by heartin on Thu, 12/20/2012 - 07:25
JAXB 2.x support bidirectional binding between xml schema and java objects - binding from XML schema to java classes and binding of Java classes to XML Schema components.
Here we will do java to xsd binding and then do marshaling and unmarshaling.
Submitted by heartin on Wed, 12/19/2012 - 21:09
In XML schema to Java class binding, the input is an XSD document and everything else is generated or written based on this XSD. We will first create a sample xml and then write (or generate) an xsd for it, then using the xsd, we will create the java stub code corresponding to the xsd and finally do marshaling and unmarshaling using the generated code. Marshaling an XML document means to create an XML document from Java classes. Unmarshaling an XML document creates a Java object tree from an XML document.
Submitted by heartin on Sun, 12/09/2012 - 19:21
In this example we will use bottom up approach to develop a simple SOAP based web service and then publish it using a Java SE Endpoint publisher. We will nto be using any server like Glassfish in this example.
Submitted by heartin on Wed, 08/22/2012 - 03:59
Strings are immutable and a new String object is created every time you modify a Sring object. A StringBuffer is a thread-safe, mutable sequence of characters. A StringBuilder is similar to StringBuffer, but with no guarantee of synchronization.
Pages