Chinese(T) | English
contact me
User Login
Username:
Password :

Sun Certified Developer for Java Web Services

Index >> SUN >> SCDJWS >> "310-220"Exam

VUE/Prometric Code:310-220

Exam Name:Sun Certified Developer for Java Web Services
Questions and Answers:345 Q&As
Price:$89
Updated:2008-11-12
Sun Certified Developer for Java Web Services
Test Q&A Updated Price
310-220 345 Q&A 2008-11-12 $89

please download in PDF format Demo: 310-220

killtest 310-220 Exam Features

High quality and Value for the 310-220 Exam.
Killtest Practice Exams for Sun Certified Developer for Java Web Services 310-220 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.

100% Guarantee to Pass Your SCDJWS exam and get your SCDJWS Certification.
We guarantee your success in the first attempt. If you do not pass the 310-220 (Sun Certified Developer for Java Web Services) on your first attempt we will give you a FULL REFUND of your purchasing fee AND send you another same value product for free.

killtest 310-220 Downloadable.
Printable Exams (in PDF format) Our Exam 310-220 Preparation Material provides you everything you will need to take your SCDJWS exam. The SCDJWS Certification details are researched and produced by Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get SCDJWS exam questions from different web sites or books, but logic is the key. Our Product will help you not only pass in the first SCDJWS exam try, but also save your valuable time .

  • Comprehensive questions with complete details about 310-220 exam.
  • 310-220 exam questions accompanied by exhibits.
  • Verified Answers Researched by Industry Experts and almost 100% correct.
  • Drag and Drop questions as experienced in the Real SCDJWS exam.
  • 310-220 exam questions updated on regular basis.
  • Like actual SCDJWS Certification exams, 310-220 exam preparation is in multiple-choice questions (MCQs).
  • Tested by many real SCDJWS exams before publishing.
  • Try free SCDJWS exam demo before you decide to buy it in http://www.Killtest.com.

High quality and Value for the 310-220 Exam:100% Guarantee to Pass Your SCDJWS exam and get your SCDJWS Certification.

http://www.Killtest.com The safer.easier way to get SCDJWS Certification.

We offer Demo version of Q&A, Q&A are as follows (not to provide picture):

310-220:please download 310-220 in PDF format Demo 310-220

1.Which connection mode allows a JAX-RPC client to make a Web service method call and then continue processing in the same thread, without waiting for a response?
A.call-back
B.solicit-response
C.request-response
D.non-blocking RPC
Correct:D
2.Which three are true about JAX-RPC Web services? (Choose three.)
A.EJB based endpoints can use container-managed transactions.
B.Servlet-based endpoints can use container-managed transactions.
C.Client-initiated transactions are propagated to EJB based endpoints.
D.EJB based endpoints can programmatically demarcate transactions.
E.Client-initiated transactions are propagated to Servlet-based endpoints.
F.Servlet-based endpoints can programmatically demarcate transactions.
Correct:A D F
3.When working with EJB based endpoints, which is true?
A.They must use JAAS.
B.They can use message handlers.
C.They must use message handlers.
D.They cannot use message handlers.
Correct:B
4.A developer is given a WSDL for an existing Web service. What is the correct sequence of steps that should be taken to use that Web service?
A.parse the WSDL using JAXP, connect to the service using RMI, and then parse the XML using SAX
B.generate stubs and interfaces using JAXM, bind to the stubs, and then call methods on the interface
C.generate stubs and interfaces using JAX-RPC, bind to the stubs, and then call methods on the interface
D.receive the service using RMI, parse the XML using JAXP, create Java objects using JAXR, and then return those Java objects
Correct:C
5.A developer needs to write a Web service that supports user sessions that timeout after 120 seconds. Which configuration file should the developer use?
A.web.xml
B.server.xml
C.ejb-jar.xml
D.service-config.xml
Correct:A
6.A developer creates an endpoint interface for an existing stateless session bean. Which is the correct mapping approach?
A.RMI
B.Handlers
C.WSDL-to-Java
D.Java-to-WSDL
Correct:D
7.According to the WS-I Basic Profile 1.0a, which two messaging styles must be supported? (Choose two.)
A.rpc-literal
B.rpc-encoded
C.point-to-point
D.document-literal
E.publish-subscribe
Correct:A D
8.Click the Task button.

Correct:
Green choice1---->Yellow Choice1
Green choice2---->Yellow Choice2
Green choice3---->Yellow Choice3
Green choice4---->Yellow Choice5
Green choice5---->Yellow Choice4
9.Given: Which endpoint method declaration is generated by this service?
A.public float getHighBid(String itemID);
B.public float getHighBid(String itemID) throws InvalidItemID;
C.public float getHighBid(String itemID) throws RemoteException;
D.public float getHighBid(String itemID) throws RemoteException, InvalidItemID;
Correct:D
10.Click the Task button.

Correct:
Green choice1---->Yellow Choice5
Green choice5---->Yellow Choice6
Green choice4---->Yellow Choice1
Green choice7---->Yellow Choice4
Green choice6---->Yellow Choice3
Green choice3---->Yellow Choice2
11.Given: xmlns:xsd="http://schemas.xmlsoap.org/wsdl/" xmlns:book="http://www.sun.com/books" … These namespace aliases and schema appear in the WSDL file for a document-style Web service. Which is a valid message element for this WSDL file?
A.
B.
C.
D.
Correct:D
12.Given the type declaration in a WSDL description for a Web service: The Java code generated by a JAX-RPC service endpoint interface consists of a PurchaseOrder JavaBean. Which property should the PurchaseOrder JavaBean contain?
A._any of type java.lang.String
B.PurchaseOrder of type java.lang.Object
C.complexType of type java.lang.Object[]
D._any of type javax.xml.soap.SOAPElement
Correct:D
13.Given: 1. public boolean handleRequest(MessageContext context){ 2. try{ 3. SOAPMessageContext soapCntxt = (SOAPMessageContext)context; 4. SOAPMessage message = soapCntxt.getMessage(); 5. message.writeTo(logStream); 6. }catch(javax.xml.soap.SOAPException se){ 7. throw new javax.xml.rpc.JAXRPCException(se); 8. } 9. } The handleRequest method (lines 1-9) is implemented by a JAX-RPC handler used for logging. Given that the method encounters an error and throws a JAXRPCException, which is true?
A.If the method is implemented by a client-side handler, it will cause a SOAP fault to be generated.
B.If the method is implemented by a server-side handler, it will cause a SOAP fault to be generated.
C.If the method is implemented by a client-side handler, the message will continue to be processed by the handler chain.
D.If the method is implemented by a server-side handler, the message will continue to be processed by the handler chain.
Correct:B
14.According to UDDI 2.04, which protocol must be used to update, modify, or delete data structures in a UDDI registry?
A.IIOP
B.HTTP
C.SMTP
D.HTTPS
Correct:D
15.According to the WS-I Basic Profile 1.0a, a conformant WSDL 1.1 portType definition is allowed to use two type operations (that is, Message-Exchange Patterns). Which two are allowed? (Choose two.)
A.one-way
B.notification
C.solicit-response
D.request-response
Correct:A D
16.Which two describe the UDDI Inquiry API? (Choose two.)
A.It requires user authentication.
B.It can be used to query the Internet.
C.It does NOT require user authentication.
D.It can be used to search a UDDI registry.
Correct:C D
17.Which element is used to define new XML Schema complex types within a WSDL 1.1 document?
A.types
B.message
C.portType
D.definitions
Correct:A
18.Which is true about WSDL 1.1?
A.It does NOT recommend a specific type system
B.It recommends the use of XSD as the type system.
C.It recommends the use of DTD as the type system.
D.It recommends the use of XSD and DTD as the type system
Correct:B
19.Click the Task button.

Correct:
Green choice3---->Yellow Choice1
Green choice1---->Yellow Choice4
Green choice4---->Yellow Choice2
Green choice2---->Yellow Choice3
20.Click the Task button.

Correct:
Green choice2---->Yellow Choice1
Green choice1---->Yellow Choice2
Green choice6---->Yellow Choice3
Green choice4---->Yellow Choice4
Green choice5---->Yellow Choice5
Green choice3---->Yellow Choice6
21.A company receives orders as XML documents. When the order is received and the XML document is processed, the document instance itself is not needed for further processing. Which technology should the developer use to process the order?
A.JAXB
B.JDBC
C.SAAJ
D.JAX-RPC
Correct:A
22.A developer has a requirement to extract the XML namespace of an element using SAX2. Which method must be used?
A.characters
B.endDocument
C.endPrefixMapping
D.startPrefixMapping
Correct:D
23.Click the Task button.

Correct:
Green choice5---->Yellow Choice1
Green choice6---->Yellow Choice2
24.Which three describe unmarshal-time validation in JAXB? (Choose three.)
A.It must be supported by all JAXB implementations.
B.It is invoked using the Validator.validate method.
C.It is enabled or disabled using the Unmarshaller.setValidating method.
D.It enables a application to receive information about validation errors and warnings that are detected while unmarshalling a Java content tree into XML.
E.It enables an application to receive information about validation errors and warnings that are detected while unmarshalling XML data into a Java content tree.
Correct:A C E
25.Which is a super type of the javax.xml.soap.SOAPBody type?
A.java.lang.String
B.org.w3c.dom.Node
C.org.w3c.dom.Document
D.javax.xml.soap.SOAPEnvelope
Correct:B
26.A developer is using the XSLT APIs in JAXP 1.2. A TransformerFactory object is instantiated and used to create a Transformer. A Source object is used as the input to the Transformer. Which two are true? (Choose two.)
A.The Source object must be created from a SAX reader or from a DOM node.
B.The Source object can be created from a SAX reader, a DOM node, or an InputStream.
C.If the Transformer is created without any specific instructions, then it copies the Source to the Result.
D.If the Transformer is created without any specific instructions, then it throws a TransformerException.
Correct:B C
27.Given the SAAJ 1.1 code snippet: 10. Name name = soapFactory.createName("symbol"); 11. SOAPElement symbol = bodyElement.addChildElement(name); 12. symbol.addTextNode("SUNW"); Which XML fragment is added to the SOAP message?
A.SUNW
B.symbol:SUNW
C. SUNW
D. SUNW
Correct:A
28.A Web service needs to translate XML documents received from external partners to internal XML representations. What can the developer use to implement the service?
A.XSLT
B.JDBC
C.SAAJ
D.JAX-RPC
Correct:A
29.Which two describe the uses for JAXR 1.0 Concept? (Choose two.)
A.It can be used to parse a WSDL document for generating a corresponding Java class.
B.It can be used to define namespaces for external identifiers, such as D-U-N-S Numbers.
C.It can be used to define the hierarchical tree structure and detailed elements of a ClassificationScheme.
D.It can be used to define the hierarchical tree structure of a ClassificationScheme, but cannot be used for defining its detailed elements.
Correct:B C
30.Which two are true about JAXR 1.0? (Choose two.)
A.Every JAXR RegistryObject has a unique key.
B.It provides interfaces for managing life cycle of registry objects.
C.It provides a businessEntity data structure for storing publisher assertions.
D.It provides a bindingTemplate interface that is used to determine if a service is deployed behind a firewall.
Correct:A B