Spring interview questions part 42

Spring interview questions part 42

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

Total Questions: 20

1. This directory holds resources needed by your test classes at test time.

Correct Answer is : src/test/resources

2. To package the project using the Roo shell.

Correct Answer is : all of the mentioned

3. The plugin, which provides Maven support to Eclipse

Correct Answer is : m2eclipse

4. Spring Roo provides very powerful support to bootstrap most solutions.

Correct Answer is : TRUE

5. A database and some sort of persistence mechanism using command:-

Correct Answer is : persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE

6. persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE command creates files:-

Correct Answer is : all of the mentioned

7. The file which contains useful configuration for Hypersonic in-memory database.

Correct Answer is : src/main/resources/META-INF/spring/database.properties

8. The file which is the standard JPA configuration file to enable the Hibernate-based JPA implementation.

Correct Answer is : src/main/resources/META-INF/persistence.xml

9. Spring application context, src/main/resources/META-INF/spring/applicationContext.xml consists of:-

Correct Answer is : All of the mentioned

10. Command to create a Spring MVC controller that provides a UI:-

Correct Answer is : controller scaff –class ~.web.CustomerController –entity ~.domain.Customer

11. To deploy the application to a web container:-

Correct Answer is : all of the mentioned

12. Spring Roo’s root folder (or any of the source packages) is:-

Correct Answer is : all of the mentioned

13. The concept of an endpoint in web services is much like that of a controller in web applications.

Correct Answer is : TRUE

14. Spring-WS provides various abstract endpoint classes for you to process the request.

Correct Answer is : org.springframework.ws.server.endpoint

15. Endpoint Classes for DOM:-

Correct Answer is : AbstractDomPayloadEndpoint

16. Endpoint Classes for JDOM:-

Correct Answer is : AbstractJDomPayloadEndpoint

17. Endpoint Classes for dom4j:-

Correct Answer is : AbstractDom4jPayloadEndpoint

18. Endpoint Classes for XOM:-

Correct Answer is : AbstractXomPayloadEndpoint

19. Endpoint Classes for SAX:-

Correct Answer is : AbstractSaxPayloadEndpoint

20. Endpoint Classes for Event-based StAX:-

Correct Answer is : AbstractStaxEventPayloadEndpoint

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon