1.what is JAVA web services? What are the methods to create web services?Java webservices is developed to build and deploy basic web service on JAVA platform. To create a web services, there are two approaches that are adopted
2.what is JAXP?JAXP is a JAVA API for XML processing that enables application to write, read, manipulate and transform XML data. Similarly, to perform other various function there are other Java API’s as well like JAX-RPC, JAXM, JAXR, JAXB, etc. 3.AXB binding framework?JAXB binding framework is available in three Java Packages
4.how XML document can be Marshal and Unmarshal in JAVA framework?Marshalling is the process of converting XML document into Java readable form while UnMarshalling is the reverse process of Marshalling. Let see how Java unmarshals an XML document and then marshals it back
JAXBContext jc= JAXBContext.newInstance (“com.mm.ss”);
// unmarshal from foo.xml Unmarshaller u = jc.createUnmarshaller () ; FooObject fooObj= (FooObject)u.unmarshal (new File (“mm.xml”) ); // marshal to sytem.out Marshaller m = jc.createMarshaller (); m.marshal (fooObj, System.out); 5.what does Marshaller do if jaxb.encoding property is not declared?the Marshaller will use “UTF-8” if jaxb.encoding property is not declared. 6.what are the types of validation can a JAXB client can perform?There are two types of JAXB client validation that a JAXB can perform
7.what are the three ways to handle the event encountered during the marshal, unmarshal and validate operations?
8.where does JAXB compiler is located?
JAXB schema binding compiler is placed in the <JWSDP_Home>/jaxb/bin directory. In this directory, there are two scripts, xjc.sh (Solaris/Linux) and xjc.bat (Windows).
9.what cases do you need to customize the default binding?In some cases, you are required to customize the default binding like
10.what is Inline Customization?
Customization to JAXB bindings made by means of inline binding declarations in an XML schema file that take the form of <xsd:appinfo> elements embedded in schema <xsd:annotation>elements.
11.Explain what is XML signature?XML can be used to sign any arbitrary data whether it is a binary or XML. The data is recognized via URIs in one or more reference elements. It is described in one or more forms, like detached, enveloping or enveloped. 12.what is Stax?Stax stands for Streaming API for XML; it is an API to read and write XML documents, originating from the JAVAprogramming language. 13.what are the usual XML APIs?The usual XML APIs includes
14.what is Push parsing and Pull parsing?
15.which technology does XWS security is based on? List out the options that XWS security provides for securing JAX-RPC applications?XWS security is based on securing web services build on JAX-RPC and on stand-alone application based on SAAJ. For securing JAX-RPC application, options that XWS security provides are
16.XML Digital signature API?Digital signature API is
17.what is JAXR?JAXR is the JAVA programming APIs for Java platform application to access and programmatically interact with various kinds of meta-data registries. 18.what does the JAXR architecture consist of?JAXR architecture is consists of a JAXR client and JAXR provider.
19.what is JAXM messaging models?There are two types of messaging models for JAXM synchronous and asynchronous
20.what is UDDI, DISCO and WSDL?
|