Choose a topic to test your knowledge and improve your Spring skills
Applying aspects to your target objects
What are the ways to declare an advice?
What are the ways to declare an advice?
What are the ways to declare an advice?
Special compiler used during weaving
Name of the process when targe classes are loaded into JVM
How to weave your classes using argument while compiling?
XML Element to include load-time weaver
You also have to include suitable load-time weaverβs configuration in XML
Library to use AspectJ weaver
Objects created outside the container:-
How to inject Spring bean into domain objects
We can directly use Spring AOP for injection of beans
Which scope does @Configurable instantiated class looks for?
Spring includes AnnotationBeanConfigurerAspect in its aspect library for configuring the dependencies of any objects
Scripting languages supported by Spring?
Scripting language based on Ruby
Dynamic Language for java platform to cope up with other languages
Lightweight java scripting language executing java fragments
In Ruby instance variable begins with
XML Element to declare a bean implemented by JRuby
XML element to specify the property values for scripting bean
XML Element to declare a bean implemented by Groovy
Scriptβs location is specified by attribute
Interface used to create additional features in groovy based beans
XML Element to declare a bean implemented by JRuby
Attribute which specifies all the interfaces
Class-based proxies are best way to advise scripted beans
Element which allows you to control the scope
BeanShell Library dependencies
Attribute used by Spring to refresh beans
Spring IoC container refreshes the script periodically according to the interval period specified
Default value of refresh-check-delay attribute
XML Element to define an inline script
Refresh checking feature is not applicable for an inline script
To prevent the characters in your script from conflicting with the reserved XML characters
Dynamic-language-backed bean with some configurations
To quickly add a Spring Validator implementation to a Spring MVC Controller
Spring can detect and refresh changes from the script source files.
Way to secure web appβs URL.
Servlet filter registered in web deployment descriptor, which filters request in spring application context.
Servlet APIs to access security information of web application.
To load root application context at the start up.
To dispatch requests for web application.
The responsibility of DelegatingFilterProxy is simply to delegate HTTP request filtering to a Spring bean that implements the interface:-
By default, DelegatingFilterProxy delegates to a bean whose name is the same as its filter-name property.
Filter chain configured by Spring security, when web app security enabled.
The http auto-config=βfalseβ element automatically configures the basic security services that a typical web application needs.
Element used to restrict access to a particular URL.
Element which configures authentication services.