Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

Sunday, February 12, 2012

What are Web Services ppt pdf documents WSDL XML example free download




What are Web Services ??

  1. Web services are based on the concept of service-oriented architecture (SOA). SOA is the latest evolution of distributed computing, which enables software components, including application functions, objects, and processes from different systems, to be exposed as services.
  2. Web services are loosely coupled software components delivered over Internet standard technologies.”
  3. Web services are self-describing and modular business applications that expose the business logic as services over the Internet through programmable interfaces and using Internet protocols for the purpose of providing ways to find, subscribe, and invoke those services.
  4. Web services can be developed as loosely coupled application components using any programming language, any protocol, or any platform. This facilitates delivering business applications as a service accessible to anyone, anytime, at any location, and using any platform.
  5. Web services are typically implemented based on open standards and technologies specifically leveraging XML. The XML-based standards and technologies, such as Simple Object Access Protocol (SOAP); Universal Description, Discovery, and Integration (UDDI); Web Services Definition Language (WSDL); and Electronic Business XML (ebXML), are commonly used as building blocks for Web services.

What are the differences between SAX and DOM parser xml parsing webservices



What are the differences between SAX and DOM parser


SAXDOM
Both SAX and DOM are used to parse the XML document. Both has advantages and disadvantages and can be used in our programming depending on the situation.
Parses node by nodeStores the entire XML document into memory before processing
Doesn’t store the XML in memoryOccupies more memory
We cant insert or delete a nodeWe can insert or delete nodes
Top to bottom traversingTraverse in any direction.
SAX is an event based parserDOM is a tree model parser
SAX is a Simple API for XMLDocument Object Model (DOM) API
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
 
doesn’t preserve commentspreserves comments
SAX generally runs a little faster than DOMSAX generally runs a little faster than DOM
If we need to find a node and doesn’t need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory.
Related Posts Plugin for WordPress, Blogger...