.gsp extension stands for:-
1. Groovy Server Pages
2.Groovy Service Pages
3. All of the mentioned
4.None of the mentioned
A directory containing the core of an application.
1.application.properties
2. ivysettings.xml
3. court.iws
4. grails-app
An Apache Ant script with a series of predefined tasks designed to create a Grails application.
1.application.properties
2.build.xml
3.manifest.xml
4.court.iml
An XML file containing configuration parameters for an application’s deployment.
1. application.properties
2. build.xml
3. court.iws
4.court.iml
Classes used to describe an application’s primary elements.
1.Domain Classes
2.Application
3.Context
4. View
Grails generates a series of files and directories which includes.
1.Apache Ant file(build.xml)
2.Apache Ivy file(ivy.xml)
3.All of the mentioned
4. none of the mentioned
Grails is a self-contained framework that comes with various scripts to automate the creation of Java applications.
1.True
2.False
3.none
4.all the mentoined
Grails uses RDBMS as a permanent storage system.
1. True
2. False
3.none
4.all the mentoined
Indicates whether to enable SQL logging.
1.driverClassName
2.dataSource properties
3.logSql
4.None of the mentioned
Method, which is called after the component’s been configured by Spring
1. setupItems
2. setUp
3.setupFakeItems
4.all of the mentioned
Tag can also be used in GSP pages views.
1. g:message
2. g:string
3.g:msg
4. none of the mentioned
To use a different channel they’d like to use when communicating with the server.
1.flex:remoting-destination
2.flex:remote
3.flex:destination
4.flex:default-channels
Used to define an application’s properties.
1.application.properties
2. build.xml
3.manifest.xml
4.court.iml
Views corresponding to a controller class’s CRUD operations.
1.create.gsp
2.edit.gsp
3. list.gsp
4.all of the mentioned
*.properties files allow Grails applications to display messages.
1.True
2. False
3.none
4.all the mentoined
A variety of constraints can be used to enforce a domain class’s structure.
1.True
2.False
3.none
4.all the mentoined
A variety of constraints can be used to enforce a domain class’s structure.
1.True
2.False
3.none
4.all the mentoined
An Apache Ivy configuration file used for defining repositories.
1.application.properties
2.ivysettings.xml
3.court.iws
4. court.launch
An XML file containing configuration parameters for an application.
1.application.properties
2.build.xml
3.manifest.xml
4.court.iml
An XML file containing configuration parameters for an application’s launch.
1. application.properties
2.build.xml
3.court.iws
4. court.launch
Command to generate the corresponding CRUD controller and views for an application’s domain class.
1.grails create-domain-class domain class name
2.grails create-domain-class
3.grails generate-all domain class name
4. none of the mentioned
Command to start the Grails application:-
1. grails run
2. grails start-app
3. grails run-app
4.none of the mentioned
Configure Grails to use another RDBMS by modifying:-
1.Data.groovy
2.DataSource.groovy
3. All of the mentioned
4.None of the mentioned
Corresponding unit tests files are also generated for each domain class while creating domain classes.
1. True
2.False
3.none
4.all the mentoined
DataSource properties, Class name for the JDBC driver.
1.driverClassName
2.dataSource properties
3.all of the mentioned
4.None of the mentioned
Declaration name which indicates that object’s name field can’t be blank.
1. blank:false
2.blank:true
3.all of the mentioned
4.None of the mentioned
flex:message-service element had an attribute.
1.default-channels
2.default-channel
3.default
4.default-types
Grails applications are equipped to support internationalization.
1.True
2. False
3.none
4.all the mentoined
Grails comes preconfigured to use:-
1.MySql
2. PostgreSQL
3. Access
4.HSQLDB
Grails is capable of inspecting an application’s domain classes and generating the corresponding controllers and views.
1.True
2.False
3.none
4.all the mentoined
If you want to coerce users into using a specific language locale.
1. /grails-app/conf/spring/resource.groovy file
2./grails-app/resource.groovy file
3. /grails-app/spring/resource.groovy file
4.None of the mentioned
In Grails, domain classes are placed under:-
1./grails-app/WEB-INF/
2. /grails-app/domain/
3./grails-app/domain/WEB-APP
4. /grails-app/
In Spring context XML for the message broker, we have.
1.flex
2. flex:message-broker
3.all of the mentioned
4.none of the mentioned
In web applications, domain classes are generally the first things to be defined.
1.True
2.False
3.none
4.all the mentoined
JSP Tag which declares statements using the Groovy.
1. g:message
2.g:string
3.g:msg
4.none of the mentioned
Method which takes parameters required to describe a bid and creates it.
1.bid
2.acceptBid
3.all of the mentioned
4.none of the mentioned
Some of the more popular Grails plugins follow:
1.App Engine
2.Quartz
3.Spring WS
4.All of the mentioned
Static field which defines constraints on the domain class.
1.static{}
2.static field{}
3.static constraint{}
4.static constraints{}
The command domain class name in creation of domain classes generates a file named domain class name.groovy.
1.True
2.False
3.none
4.all the mentoined
The creation of domain classes by executing a simple command which is:-
1. grails create-domain-class
2.grails create-domain-class domain class name
3.domain class name
4. none of the mentioned
To configure the standard Spring bean.
1.context:component-scan
2. context:scan
3.context:component
4. none of the mentioned
To create a Grails application, command:-
1.grails create-app
2. grails create-app grailsappname
3.grails create-app default
4. none of the mentioned
To invoke Grails operations from anywhere on your workstation.
1.GRAILS HOME
2. PATH
3. All of the mentioned
4.None of the mentioned
To keep the code simpler.
1.Hibernate
2. Backing datastore
3.ConcurrentSkipListSet
4. None of the mentioned
To notify other viewers of any new items posted.
1.javax.jms.Topic
2.jms
3.all of the mentioned
4. none of the mentioned
To see Grails numerous commands.
1.grails help
2. grails -help
3. grails -h
4.help grails
Views are placed under which directory:-
1.app/views/
2.app/
3.grails-app/views/WEB-INF
4.grails-app/views/domain class
Where can you find series of *.properties files.
1./grails-app/
2. /grails-app/i18n/
3./grails-app/i18n/WEB-INF
4./grails-app/i18n/WEB-APP
Which locale (i.e., from an internationalization properties file) to use for a user is based on?
1./grails-app/conf/spring/resource.groovy file
2.user’s browser language preferences
3.all of the mentioned
4.none of the mentioned
Working directories and files are placed under which directory.
1. User’s home directory under the name.grails/grails version/.
2. WEB-APP
3.WEB-INF
4.None of the mentioned