Attribute which specifies all the interfaces
1.script-interfaces
2. lang:bsh
3.lang:script
4.script:bsh
Default value of refresh-check-delay attribute
1. Zero
2.Negative
3.Positive
4.None of the mentioned above
Element which allows you to control the scope
1. lang:jruby
2.lang:language
3. lang: bsh
4.lang:groovy
Interface used to create additional features in groovy based beans
1.GroovyObjectCustomizer
2.GroovyBeanCustomizer
3. GroovyCustomizer
4.None of the mentioned
Library to use AspectJ weaver
1. spring-instrument.jar
2.spring-introduction.jar
3. spring-aop.jar
4. spring-weave.jar
To load root application context at the start up.
1. ContextListener
2.ContextLoader
3.ContextLoaderListener
4.ContextEventListener
To prevent the characters in your script from conflicting with the reserved XML characters
1.Use ![CDATA[…]] tag
2.Use ![DATA[…]] tag
3.Use ![CDATA(…)] tag
4.none of the mentioned
Way to secure web app’s URL.
1. servlet filters
2.refresh-check-delay
3. http servlet filters
4.none of the mentioned
What are the ways to declare an advice?
1. pointcut-ref attribute
2. pointcut attribute
3. all of the mentioned
4.none of the mentioned
What are the ways to declare an advice?
1. pointcut-ref attribute
2. pointcut attribute
3. all of the mentioned
4.none of the mentioned
What are the ways to declare an advice?
1. pointcut-ref attribute
2. pointcut attribute
3. all of the mentioned
4.none of the mentioned
XML Element to define an inline script
1. lang:inlinescript
2. lang:inline_script
3.lang:inline@script
4.lang:inline-script
XML Element to include load-time weaver
1. aop:config
2. aop:auto-wire
3.context:load-time-weaver
4. aop:load-time-weaver
XML element to specify the property values for scripting bean
1. lang:property
2. bean:property
3. script:property
4.none of the mentioned
Applying aspects to your target objects
1. AspectJ Annotation
2. Weaving
3.All of the mentioned
4.none of the mentioned
Attribute used by Spring to refresh beans
1.refresh-check-interval
2.refresh-check-delay
3.refresh-delay
4.none of the mentioned
BeanShell Library dependencies
1. bsh-2.0b4.jar
2.cglib-nodep-2.1_3.jar
3. all of the mentioned
4.none of the mentioned
By default, DelegatingFilterProxy delegates to a bean whose name is the same as its filter-name property.
1.True
2.False
3.error
4.none of the mentioned
Class-based proxies are best way to advise scripted beans
1.True
2. False
3.error
4.none of the mentioned
Dynamic Language for java platform to cope up with other languages
1.JRuby
2.Groovy
3.BeanShell
4.all of the mentioned
Dynamic-language-backed bean with some configurations
1.Refreshable bean
2.Beanshell
3.Scripting Beans
4. Inline Script
Element used to restrict access to a particular URL.
1. restrict-url
2. intercept-url
3. intercept-restrict
4.none of the mentioned
Element which configures authentication services.
1.authentication-provider
2.authentication-manager
3. all of the mentioned
4.none of the mentioned
Filter chain configured by Spring security, when web app security enabled.
1.springSecurityFilterChain
2. delegatingFilterProxy
3. none of the mentioned
4.all of the mentioned
How to inject Spring bean into domain objects
1.AOP
2.XML
3.AspectJ
4. Java Based
How to weave your classes using argument while compiling?
1. -javaagent:CLASSPATH
2. -javaagent:PackgePath
3. -javaweave:CLASSPATH
4.-javaweave:PackagePath
In Ruby instance variable begins with
1.#
2. *
3. @
4.none of the mentioned
Lightweight java scripting language executing java fragments
1. JRuby
2. Groovy
3.BeanShell
4.all of the mentioned
Name of the process when targe classes are loaded into JVM
1.load-time weaving
2. process-time weaving
3. load-process weaving
4. process-delivery weaving
Objects created outside the container:-
1. Domain Objects
2. User Objects
3.SpringVisitor Objects
4.none of the mentioned
Refresh checking feature is not applicable for an inline script
1.True
2. False
3.error
4.None of these
Script’s location is specified by attribute
1. script-source
2.xml-source
3. script-annotation
4.none of the mentioned
Scripting language based on Ruby
1. JRuby
2.Groovy
3.BeanShell
4.all of the mentioned
Scripting languages supported by Spring?
1. JRuby
2.Groovy
3.BeanShell
4.all of the mentioned
Servlet APIs to access security information of web application.
1.HttpServletRequest.isUserInRole()
2.HttpServletRequest.getUserPrincipal()
3.None of the mentioned
4. All of the mentioned
Servlet filter registered in web deployment descriptor, which filters request in spring application context.
1. DelegatingFilter
2. DelegatingFilterProxy
3.DelegatingProxy
4.none of the mentioned
Special compiler used during weaving
1. jvm
2.gcc
3. ajc
4.none of the mentioned
Spring can detect and refresh changes from the script source files.
1. True
2. False
3.error
4.None of these
Spring includes AnnotationBeanConfigurerAspect in its aspect library for configuring the dependencies of any objects
1.True
2. False
3.error
4.None of these
Spring IoC container refreshes the script periodically according to the interval period specified
1.True
2. False
3.error
4.None of these
The http auto-config=â€false†element automatically configures the basic security services that a typical web application needs.
1.True
2.False
3.error
4.None of these
The responsibility of DelegatingFilterProxy is simply to delegate HTTP request filtering to a Spring bean that implements the interface:-
1. java.util.logging.Filter
2.java.util.logging.net
3.java.util.logging.FilterHttp
4.none of the mentioned
To dispatch requests for web application.
1.DispatcherServlet
2. ViewHandler
3.ViewResolver
4.none of the mentioned
To quickly add a Spring Validator implementation to a Spring MVC Controller
1. Use inline-script
2.lang:inline-script
3.All of the mentioned
4.None of the mentioned
We can directly use Spring AOP for injection of beans
1. True
2.False
3.error
4.None of these
Which scope does @Configurable instantiated class looks for?
1. Singleton
2.Prototype
3.None of the mentioned
4.all of the mentioned
XML Element to declare a bean implemented by Groovy
1.lang:groovy
2. lang:jruby
3. beanscript:jruby
4. script:jruby
XML Element to declare a bean implemented by JRuby
1. lang:jruby
2.aop:jruby
3.beanscript:jruby
4.script:jruby
XML Element to declare a bean implemented by JRuby
1.lang:bash
2.aop:bash
3. lang:bsh
4.script:bash
You also have to include suitable load-time weaver’s configuration in XML
1.True
2.False
3.error
4.none of the mentioned