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 sneha on Tue, 12/18/2012 - 07:50
Submitted by heartin on Mon, 12/17/2012 - 02:11
A servlet is a java class that conform to the servlet specification and need to be deployed to a servlet container to work as a servelt. A servlet’s life cycle consist of Servlet class loading, Servlet instantiation, and then methods init(), service() and destroy().
Submitted by heartin on Sun, 12/16/2012 - 18:44
HTTP is a synchronous request-response application network protocol. Client sends a request specifying one of the seven HTTP methods, the location of the resource to be invoked, a set of optional headers and an optional message body. The server sends back a response containing the version of HTTP we are using, a response code, a description of the response code, a set of optional headers, and an optional message body. HTTP is the primary protocol for most web applications on the Internet, regardless of whether they are written in Java, PHP or ASP.
Pages