Spring MCQ Quiz Hub

Spring Mcq Set 8

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

1. To keep the code simpler.




2. Method which takes parameters required to describe a bid and creates it.




3. To notify other viewers of any new items posted.




4. Method, which is called after the component’s been configured by Spring




5. To configure the standard Spring bean.




6. In Spring context XML for the message broker, we have.




7. flex:message-service element had an attribute.




8. To use a different channel they’d like to use when communicating with the server.




9. Grails is a self-contained framework that comes with various scripts to automate the creation of Java applications.




10. To invoke Grails operations from anywhere on your workstation.




11. To see Grails numerous commands.




12. To create a Grails application, command:-




13. Working directories and files are placed under which directory.




14. Grails generates a series of files and directories which includes.




15. Used to define an application’s properties.




16. An Apache Ant script with a series of predefined tasks designed to create a Grails application.




17. An XML file containing configuration parameters for an application.




18. An XML file containing configuration parameters for an application’s deployment.




19. An XML file containing configuration parameters for an application’s launch.




20. An Apache Ivy configuration file used for defining repositories.




21. A directory containing the core of an application.




22. Some of the more popular Grails plugins follow:




23. Classes used to describe an application’s primary elements.




24. In web applications, domain classes are generally the first things to be defined.




25. In Grails, domain classes are placed under:-




26. The creation of domain classes by executing a simple command which is:-




27. The command domain class name in creation of domain classes generates a file named domain class name.groovy.




28. Corresponding unit tests files are also generated for each domain class while creating domain classes.




29. Static field which defines constraints on the domain class.




30. Declaration name which indicates that object’s name field can’t be blank.




31. A variety of constraints can be used to enforce a domain class’s structure.




32. Command to generate the corresponding CRUD controller and views for an application’s domain class.




33. Grails is capable of inspecting an application’s domain classes and generating the corresponding controllers and views.




34. Views corresponding to a controller class’s CRUD operations.




35. .gsp extension stands for:-




36. Views are placed under which directory:-




37. Command to start the Grails application:-




38. Grails applications are equipped to support internationalization.




39. Where can you find series of *.properties files.




40. *.properties files allow Grails applications to display messages.




41. Which locale (i.e., from an internationalization properties file) to use for a user is based on?




42. If you want to coerce users into using a specific language locale.




43. JSP Tag which declares statements using the Groovy.




44. Tag can also be used in GSP pages views.




45. Grails uses RDBMS as a permanent storage system.




46. Grails comes preconfigured to use:-




47. Configure Grails to use another RDBMS by modifying:-




48. DataSource properties, Class name for the JDBC driver.




49. Indicates whether to enable SQL logging.