I flied from Singapore back to Shanghai on the same day one year ago. Landed again on another unknown ground in my life. Applied national ID, converted driver license, rent a furnished apartment. One later, no too much happened except more and more stuff in the apartment.
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.
Comments
Post a Comment