| 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. Servlet Listener to load the root application context at startup.

Correct Answer is : ContextLoaderListener

2. Unlike in a web application, you can’t control URLs directly in a portlet.

Correct Answer is : TRUE

3. You can chain multiple handler mapping annotations as required to portlet.

Correct Answer is : TRUE

4. The preceding controller handles portlet requests:-

Correct Answer is : all of the mentioned

5. When handling a render request, it gets the time zone attribute from the portlet preference.

Correct Answer is : TRUE

6. When handling an action request, it gets the time zone parameter from the portlet request.

Correct Answer is : TRUE

7. The submission URL of this form should be a portlet action URL that will trigger an action request to the current portlet.

Correct Answer is : TRUE

8. The main mission of Spring Roo is fundamentally and sustainably improve Java developer productivity without compromising engineering integrity or flexibility.

Correct Answer is : TRUE

9. Library which helps Spring Roo in using of the command line shell.

Correct Answer is : JLine

10. To check version of Maven.

Correct Answer is : mvn –version

11. To confirm Roo version.

Correct Answer is : roo.sh quit

12. The Spring Roo shell is a blank slate. It represents the ultimate user interface for Spring Roo to facilitate development.

Correct Answer is : TRUE

13. Spring Roo supports tab completion.

Correct Answer is : TRUE

14. You can ask Roo questions using:-

Correct Answer is : hint

15. Spring Roo file extension is:-

Correct Answer is : .roo

16. To run the script:-

Correct Answer is : roo.sh script –file ~/Desktop/myapp.roo

17. Maven Directory to hold the non–unit-test Java files for your application.

Correct Answer is : src/main/java

18. Maven Directory which holds classpath resources that aren’t Java class files.

Correct Answer is : src/main/resources

19. Maven Directory which is used to hold the rest of a web application’s structure.

Correct Answer is : src/main/webapp

20. This directory holds artifacts intended to test the Java classes under the src/main/java folder.

Correct Answer is : src/test/java