Yesterday it sounds serious. It rains heavily until the evening. Typhoon Wipha is reported heading Shanghai today. School is closed. People is evacuated. After yesterday evening, suddenly it is quite. No rain, a little bit of wind. I am excited to see what can happen this morning. Now it is after lunch, it is still quite, no rain, no wind. Whoo, Shanghai is safe this round.
singleton Scopes the bean definition to a single instance per Spring container (default). prototype Allows a bean to be instantiated any number of times (once per use). request Scopes a bean definition to an HTTP request. Only valid when used with a web capable Spring context (such as with Spring MVC). session Scopes a bean definition to an HTTP session. Only valid when used with a webcapableSpring context (such as with Spring MVC). global-session Scopes a bean definition to a global HTTP session. Only valid when used in a portlet context.