Do you need to define any dependencies in order to use beans from one extension in the other extension?
If yes, where?
What is the default bean scope if bean scope is not defined?
singleton
How the GenericApplicationContext is constructed and when is it loaded?
Is constructed using all configuration files of all the extensions by start-up time and is loaded during hybris startup
Which of the following listeners will allow beans defined within Web Application Context to refer the beans available in Global Application context?
de.hybris.platform.spring.HybrisContextLoaderListener
Which of the following is not a valid type of Advice?
Before throwing advice
Which of the following are common and important Application Context implementations?
ClassPathXmlApplicationContext
FileSystemXmlApplicationContext
XmlWebApplicationContext
Which of the following are two important bean lifecycle methods?
setup and teardown
Which of the following bean scopes are valid only in the context of a web-aware Spring ApplicationContext?
request
Which of the following variable resolver lets you use Spring with JSF?
org.springframework.wejsf.DelegatingVariableResolver
Which of the following Spring Security concepts are relevant to Hybris?
All of the above
Choose which is true:
All of above
What is the Type of Proxy in Spring Framework?
Dynamic
How could you externalize constants from a Spring configuration file or a Spring annotation into a .properties file ? Select one or more answers
By using the <property-placeholder></property-placeholder> tag
What statements are not correct? Select a unique answer.
All of the above
What could not return a Spring MVC controller? Select a single answer.
An absolute path to the view
Where do you cannot declare Spring MVC controller? Select one or more answers.
How could you secure MVC controller with Spring Security? Select a unique answer.
All of the above
What are the possible mechanisms provided by Spring Security to store user details? Select one or more correct answers.
What is true about Spring security configuration and the security namespace? Select one or more correct answers
The patterns declared into the intercept-url tag are analyzed from up to bottom. Winning is the first that matches
Spring MVC is a request-based framework.
Yes
Spring’s Transaction management feature can fully replace all the features of EJB’s Container managed transaction
Yes except the global transactions
What do you understand by Inversion of Control(IO
What are the types of injection supported by Spring ?
Constructor Injection only
Constructor Injection and Setter Injection
Constructor Injection , Setter Injection and Interface Injection
Constructor Injection and Setter Injection
Can you instantiate a static inner class in spring
No. Static classes are not supported
Yes. They are instantiated by default with the class
Yes. But you will have to use the binary name of the class
Yes. But you will have to use the binary name of the class