Spring MCQ Quiz Hub

Spring Mcq Set 9

Choose a topic to test your knowledge and improve your Spring skills

1. To perform its logging operations.




2. Log4J configuration parameters are specified inside:-




3. Grails application logging can be configured using:-




4. Any logging operation occurring at any of the cited packages will be logged.




5. In Log4J parlance, each package is known as:-




6. Log4J also has the following logging level:-




7. By default, all logging message are sent to the stacktrace.groovy file.




8. To offer versatile logging functionality:-




9. A location where logging information is sent.




10. A location where logging information is generated.




11. The default Log4J logger can be customized in a Grails application.




12. An appender that logs to a JDBC connection.




13. Command for running tests in Grails.




14. Unit tests are designed to validate the logic contained in a single domain class.




15. Method creates a mock object from a domain class.




16. A Grails view can contain:-




17. A view can require a unique combination of display elements and business logic.




18. To create custom tags.




19. grails create-tag-lib tag-lib-name command creates a custom tag library under:-




20. In order for this custom tag to function properly in JSP, it’s necessary to add it to the corresponding Tag Library Definition (TLD) grails.tld.




21. Custom tags can also rely on input parameters.




22. By default, Grails assigns custom tags to:-




23. By default, Grails applies a global layout to display an application’s content.




24. Grails doesn’t supports the concept of templates.




25. Where is subdirectory called layouts located, containing the layouts available to an application?




26. Tag is used to define the contents of a layout’s title section.




27. Tag is used to define the contents of a layout’s head section.




28. Tag allows any view inheriting this layout automatic access to JavaScript libraries.




29. A view’s body content is inside the:-




30. GORM dynamic finder comparators:-




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




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




33. To check version of Maven.




34. To confirm Roo version.




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




36. Spring Roo supports tab completion.




37. You can ask Roo questions using:-




38. Spring Roo file extension is:-




39. To run the script:-




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




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




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




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




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




45. To package the project using the Roo shell.




46. The plugin, which provides Maven support to Eclipse




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




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




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




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