spring_interview_questions

Spring Multiple Choice Questions Answers

Q. In Spring, which of the following methods is used to shut down the IoC container?

Explanation: Spring-WS provides various abstract endpoint classes for you to process the request and response XML messages using different XML processing technologies and APIs. These classes are all located in the org.springframework.ws.server.endpoint package.

#### Q. Endpoint Classes for DOM:-
* AbstractDomPayloadEndpoint
* AbstractJDomPayloadEndpoint
* AbstractDom4jPayloadEndpoint
* AbstractXomPayloadEndpoint

AbstractDomPayloadEndpoint

Explanation: Endpoint Classes for Different XML Processing Technologies/APIs

#### Q. If you need to get access to the entire SOAP message, you should write an endpoint class by implementing:-
* org.springframework.ws.server.endpoint.MessageEndpoint
* org.springframework.ws
* org.springframework.ws.server.endpoint
* all of the mentioned

org.springframework.ws.server.endpoint.MessageEndpoint

#### Q. Web services can be invoked through the core template class:-
* org.springframework.ws.client.core.WebServiceTemplate
* JDBC Template
* All of the mentioned
* None of the mentioned

org.springframework.ws.client.core.WebServiceTemplate

#### Q. WebServiceTemplate provides a sendSourceAndReceiveToResult() method that accepts arguments:-
* java.xml.transform.Source
* java.xml.transform.Result
* all of the mentioned
* none of the mentioned

all of the mentioned ```

↥ back to top