Cheers, matthew
On Friday, August 8, 2003, at 10:26 AM, Jason Carreira wrote:
In the same way that we're going to have a Pico integration for IoC, I'd
like to have a Spring integration for IoC... But these need to be in an
add-on project for integrating other dependencies with Xwork / WebWork
outside of the main code base.
-----Original Message----- From: Matthew E. Porter [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:19 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Is This a Bad Use of IoC?
What is the planned intergration with Spring?
Cheers, matthew
On Thursday, August 7, 2003, at 08:57 PM, Jason Carreira wrote:
I think we need to get the project for externalintegrations going. Igot a note from Rod Johnson about this too, and I think itwould be aa nice jobgreat idea to have integrations with Spring and Picocontainer, but these need to be in a separate project. We're explicitly limiting dependencies in Xwork / WebWork as much as possible.
Jason
-----Original Message----- From: Rob Rudin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 9:39 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Is This a Bad Use of IoC?
Not to sound like a broken record, but I think Spring doeshandle theof handling Hibernate. It provides a Hibernate template toSessionFactory.Hibernate plumbing and nice support for configuring abuilding aShould be very easy to hook this into WW2's IoC.
Rob
----- Original Message ----- From: "Matthew E. Porter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 8:38 PM Subject: [OS-webwork] Is This a Bad Use of IoC?
I think I may be going Inversion of Control mad lately andneed somehelp sorting out if what I am doing is just wrong. I amprovider alwaysproviders- onenew persistence manager where the core manager is based upon hibernate. The hibernate manager needs three differentfor Configuration, one for SessionFactory, and one forSessions. Eachof these providers (Conf, SF, and Session) can have different implementations. For example, the default SessionThreadLocal versionreturns a new session; however, there is also aruntime?which returns the same session for the entire thread.
The question I have is how do I specify and load these atspecifiesThe most obvious answer is to have a custom xml file thatalready havewhich provider fulfills each role. I could write (anduse it todone so) a loader to read an XML file and configure thesystem. But,instead of having this in a separate file, would it be a complete bastardization of the intention of IoC (XWork edition) toIoC is toautomatically configure the providers?
Why does this seem bad? Because the primary intention ofare availablewire business components whereas these providers willprobably neverbe used outside the real component, the persistencemanager. Instead,it seems like I am too lazy to write a loader to configurethe system.sites including
Cheers, matthew
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NETData Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01_______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forumssites includingnow. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NETData Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/ direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/ direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork