|
From: Cameron B. <ca...@da...> - 2004-03-18 16:14:06
|
Yeah, scoped bean factories is the idea I was trying to convey ;) I think I got a little lost in the implementation ! Anyway, I guess what I am heading towards is seeing if spring can be adapted to support scopes. I would like to support request, session, and custom scopes like security and others. I think a more elegant way would be to have a scope="session" like attribute for each bean. As well as some sort of scope definition, mapping scope names to scope managers, and the relationship between them. For example nested scopes - to declare the direction of dependaency. More food for thought. Cameron. > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] > On Behalf Of neuro > Sent: Friday, 19 March 2004 1:45 AM > To: spr...@li... > Subject: [Springframework-developer] Re: Spring Web .. New > idea : requestContext.xml > > All of this is really close to my situation and I even have > similiar ideas but no time to experiment with it. 8( > > Many frameworks have different scopes for helpers or beans - > in some article I saw comparison of XWork/WebWork2 IOC with > Spring - an only feature Spring was "beaten" its ease of > configuration of beans with different scopes. Even > VelocityTools project have this. > > Different bean scopes are natural to many application > architectures and essential to web applications. > > So I think this and (or) similiar things will be very > valuable addition to Spring. > > //regards, neuro > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials Free > Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |