| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. In contrast, the contract-first approach encourages you to think of the service contract first in terms of :-

Correct Answer is : All of the mentioned

2. In some cases, it’s also hard to map an object to XML (e.g., an object graph with cyclic references) because there’s actually an impedance mismatch between an object model and an XML model.

Correct Answer is : TRUE

3. Service exporters that can export a bean as a remote service based on the :-

Correct Answer is : All of the mentioned

4. Spring comes with a service exporter that can export a bean as a SOAP web service.

Correct Answer is : FALSE

5. The standard for deploying web services on the Java EE platform as of Java EE 1.4:-

Correct Answer is : JAX-RPC

6. To send objects across the wire, beans need to be encoded using the Java Architecture for XML Binding (JAXB).

Correct Answer is : TRUE

7. If you are deploying into a Java EE 5 (or better) container, you may simply create a bean that is annotated with:-

Correct Answer is : all of the mentioned

8. If you are using the JAX-RS Reference Implementation, this intermediary step will involve a tool called wsgen.

Correct Answer is : TRUE

9. Spring provides a factory that can export beans annotated with:-

Correct Answer is : all of the mentioned

10. Exposing a stand-alone SOAP endpoint using the:-

Correct Answer is : All of the mentioned

11. Tomcat doesn’t support JAX-WS by itself.

Correct Answer is : TRUE

12. CXF represents the consolidation of the Celtix and XFire projects, which each had useful SOAP support.

Correct Answer is : TRUE

13. Factory to use our Spring bean as the implementation:-

Correct Answer is : jaxws:endpoint

14. To fork the process flow from one component to many, either all at once or to a single one based on a predicate condition.

Correct Answer is : splitter

15. A splitter takes an input message and asks you, the user of the component, on what basis it should split the Message.

Correct Answer is : TRUE

16. Spring Integration ships with useful splitters that require no customization.

Correct Answer is : XPathMessageSplitter

17. Return type of the method annotated by the @Splitter annotation is of type:-

Correct Answer is : java.util.Collection

18. Annotation which collects a series of messages (based on some correlation that you help Spring Integration make between the messages).

Correct Answer is : @Aggregator

19. To determine how many messages to read until it can stop:-

Correct Answer is : SequenceSizeCompletionStrategy

20. For correlation when you might not have a size but know that you’re expecting messages that share a common header value within a known time, Spring Integration provides the HeaderAttributeCorrelationStrategy.

Correct Answer is : TRUE