A developer has created a new Web service but now he wants to publicize the details of it so it can be discovered by other consumers. What technology(ies) or product(s) can the developer use?
A. WS-Metadata Exchange
B. Web Services Distributed Management
C. a custom registry
D. Web Sphere Service Registry and Repository
E. WS-Management
F. UDDI
正解:C,D,F
質問 2:
Which of the following can be changed using Web Services Explorer?
A. Policy Set Attachment
B. JSR-109 Deployment Descriptors
C. Adding SOAP Headers
D. Adding HTTP Headers
E. Endpoint URL
F. Input values to the request
正解:C,E,F
質問 3:
A developer using WebSphere Application Server Developer Tools wants to create a web project that will contain servlets and JSP files. The developer opens the New Web Project wizard using File > New > Web Project menu item.
What should the developer do in the New Web Project wizard to accomplish this?
A. Select the Simple Project template, and select Java EE in the Programming Model section.
B. Select the Simple Project template, and add the Servlets and JSP facets using the Change Features button.
C. Select the Web 2.0 Project template.
D. Select the Simple Project template, and select Client-side only in the Programming Model section.
正解:A
質問 4:
A developer runs a servlet from an OSGi web project named CounterWebBundle on a Liberty server and gets the following error message when the doGet method of the servlet is run:
[ERROR ] SRVE0777E: Exception thrown by application class
'com.ibm.ws.eba.servlet.CounterServlet.doGet():42' java.lang.NoClassDefFoundError: javax.naming.Initia lContext
How should the developer resolve the problem?
A. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and Web 2.0 is selected in the Project Facets of the Properties for CounterWebBundle.
B. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and the javax.naming package is added to the Import-Package of CounterWebBundle.
C. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and the javax.naming.InitialContext is specified in the init-method of the bean specified in the blueprint.xml file of CounterWebBundle.
D. Ensure that jndi-1.0 and serverStatus-1.0 are added to the Feature Manager in the server configuration.
正解:B
質問 5:
In WebSphere Application Server Developer Tools with default settings, which situation will cause validation errors instead of warnings in the Problems view?
A. A user is added to a basic user registry in the Liberty server.xml file with a name and a password, without the password being encoded.
B. A package is used and specified in an Import-Package header of a bundle manifest file, and no corresponding Export-Package header exists for the same package in the manifest file of another bundle in the workspace.
C. The closing </form> tag of a form element in an HTML page is omitted and the file is saved.
D. An optional header of a bundle manifest file is misspelled in the Source view, and the file is then saved.
正解:B
質問 6:
Which of the following are ways to add or customize an HTTP header to a Web service request in IBM Web Sphere Application ServerV7.0.
A. Create a Hash Map containing the transport headers and set the Hash Map on the JAXWS Binding Provider under a property namedREQUEST_TRANSPORT_PROPERTIES
B. Use a JAX-WS Logical Handler and get/set the HTTP headers from the JAXWSMessageContext
C. Specify the values to be set on a policy set and attach the policy set to the client reference
D. Use a JAX-WS Protocol Handler and get/set the HTTP headers from the JAX-WS Message Context
E. Create a Hash Map containing the transport headers and set the Hash Map on theJAX-WS Service under a property named REQUEST_TRANSPORT_PROPERTIES
正解:A,D
Misaki -
分かりやすい言葉で解説されており、イラストやレイアウトもごちゃごちゃしておらず、無理なく続けられることができました。C9510-319合格です。