JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Spring interview questions part 42
Spring interview questions part 42
Back
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.
A. src/test/java
B. src/test/resources
C. src/main/webapp
D. src/test/java
Show Correct Answer
Correct Answer is :
src/test/resources
2. To package the project using the Roo shell.
A. perform package
B. roo.sh
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
3. The plugin, which provides Maven support to Eclipse
A. m2eclipse
B. m2plugin
C. plugin
D. none of the mentioned
Show Correct Answer
Correct Answer is :
m2eclipse
4. Spring Roo provides very powerful support to bootstrap most solutions.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
5. A database and some sort of persistence mechanism using command:-
A. persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE
B. persistence setup –database HYPERSONIC_IN_MEMORY –provider
C. persistence setup –database HYPERSONIC_IN_MEMORY
D. persistence –database HYPERSONIC_IN_MEMORY –provider HIBERNATE
Show Correct Answer
Correct Answer is :
persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE
6. persistence setup –database HYPERSONIC_IN_MEMORY –provider HIBERNATE command creates files:-
A. src/main/resources/META-INF/persistence.xml
B. src/main/resources/META-INF/spring/database.properties
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
7. The file which contains useful configuration for Hypersonic in-memory database.
A. src/main/resources/META-INF/spring/database.properties
B. src/main/resources/META-INF/persistence.xml
C. src/main/resources/META-INF/pom.xml
D. none of the mentioned
Show Correct Answer
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.
A. src/main/resources/META-INF/spring/database.properties
B. src/main/resources/META-INF/persistence.xml
C. src/main/resources/META-INF/pom.xml
D. none of the mentioned
Show Correct Answer
Correct Answer is :
src/main/resources/META-INF/persistence.xml
9. Spring application context, src/main/resources/META-INF/spring/applicationContext.xml consists of:-
A. Data Source
B. JPA Transaction Manager
C. JPA entity manager factory
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
10. Command to create a Spring MVC controller that provides a UI:-
A. controller scaff –class ~.web.CustomerController –entity ~.domain.Customer
B. controller scaff –class ~.web.CustomerController –entity
C. none of the mentioned
D. all of the mentioned
Show Correct Answer
Correct Answer is :
controller scaff –class ~.web.CustomerController –entity ~.domain.Customer
11. To deploy the application to a web container:-
A. mvn tomcat:run
B. mvn jetty:run
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
12. Spring Roo’s root folder (or any of the source packages) is:-
A. src/main/java, src/main/resources
B. src/test/java
C. src/test/resources
D. all of the mentioned
Show Correct Answer
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
14. Spring-WS provides various abstract endpoint classes for you to process the request.
A. org.springframework.ws.server.endpoint
B. org.springframework.ws.server
C. org.springframework.*
D. none of the mentioned
Show Correct Answer
Correct Answer is :
org.springframework.ws.server.endpoint
15. Endpoint Classes for DOM:-
A. AbstractDomPayloadEndpoint
B. AbstractJDomPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractXomPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractDomPayloadEndpoint
16. Endpoint Classes for JDOM:-
A. AbstractDomPayloadEndpoint
B. AbstractJDomPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractXomPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractJDomPayloadEndpoint
17. Endpoint Classes for dom4j:-
A. AbstractDomPayloadEndpoint
B. AbstractJDomPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractXomPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractDom4jPayloadEndpoint
18. Endpoint Classes for XOM:-
A. AbstractDomPayloadEndpoint
B. AbstractJDomPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractXomPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractXomPayloadEndpoint
19. Endpoint Classes for SAX:-
A. AbstractDomPayloadEndpoint
B. AbstractSaxPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractXomPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractSaxPayloadEndpoint
20. Endpoint Classes for Event-based StAX:-
A. AbstractDomPayloadEndpoint
B. AbstractSaxPayloadEndpoint
C. AbstractDom4jPayloadEndpoint
D. AbstractStaxEventPayloadEndpoint
Show Correct Answer
Correct Answer is :
AbstractStaxEventPayloadEndpoint
Similar Interview Questions
Search for latest jobs
Find Jobs