Visit our blog
News & Events
Blog Entry: More fun with Spring scopes / Java
In his blog entry, More fun with Spring scopes / Java, Eugene Kuleshov shows another potentially interesting use of the custom scope capability introduced in Spring 2.0. He creates a custom scope which binds to specific request URLs. Effectively this allows any data to be bound to a specific page or whatever request specific artifact the current request URL represents, accessible as a regular Spring bean. Think of it as a permanent Page/Request scope, as opposed to the Servlet spec's regular Page/Request scope, which lives only for the lifetime of the current request.
Our monthly newsletter is packed full of techniques, tutorials, tips and tricks to get you on your way to Spring nirvana. View Archive