Quiz Points 3 Rules Raise your hand if

  • Slides: 11
Download presentation
Quiz Points 3 • Rules • Raise your hand if you know the question

Quiz Points 3 • Rules • Raise your hand if you know the question • One student will be picked in random • If the answer is wrong, another student will be given a chance • If answer is given by several students at the same time, no one will get any quiz points!

Q 31 • How does Web Service address the deficiencies of COM/CORBA? Answer: 1.

Q 31 • How does Web Service address the deficiencies of COM/CORBA? Answer: 1. XML standard, interoperable, SOAP over HTTP, etc. gives internet access

Q 32 • What System. xml class would you use for XML DOM Parsing?

Q 32 • What System. xml class would you use for XML DOM Parsing? Answer: Xml. Document

Q 33 • If you want fast, forward only access to the contents of

Q 33 • If you want fast, forward only access to the contents of an XML document, what would you use? Answer: Xml. Reader

Q 34 • If you want an object to be serialized, what attribute would

Q 34 • If you want an object to be serialized, what attribute would you use on its class Answer: Serializable

Q 35 • What interface will allow you to control the serialization process Answer:

Q 35 • What interface will allow you to control the serialization process Answer: ISerializable

Q 36 • If you want to generate SOAP format XML of an objects

Q 36 • If you want to generate SOAP format XML of an objects contents, what class would you use? Answer: SOAPFormatter

Q 37 • By default, Xml. Serializer will format a field of an object

Q 37 • By default, Xml. Serializer will format a field of an object as what? Answer: element

Q 38 • What attribute would you use to format a field as an

Q 38 • What attribute would you use to format a field as an attribute? Answer: Xml. Attribute

Q 39 • What is one deficiency or disadvantage of using Xml. Serializer? Answer:

Q 39 • What is one deficiency or disadvantage of using Xml. Serializer? Answer: To serialize derived types, you have to mark each type, failing OCP.

Q 40 • What attribute would you use to modify the name of the

Q 40 • What attribute would you use to modify the name of the root element in the generated xml document? Answer: Xml. Root