Tuesday, June 26, 2007
Spring global session scope
For beans used in portlet environment, global session scope can be used, if the bean needs to be in session scope. If scope specified is global session but the bean is used in http servlet environment then by default session scope will be used and no exception will be thrown.
Friday, June 22, 2007
Spring depends-on
In Spring framework, if one bean A does not depend on another bean B. That is A does not has property B. But some static block of B needs to be invoked before A is instantiated. In this case, depends-on attribute can be used for A, wherein A depends-on B.
Subscribe to:
Comments (Atom)