Nick,

wg> -----Urspr�ngliche Nachricht-----
wg> Von: Nick Stuart [mailto:[EMAIL PROTECTED]
wg> Gesendet: Dienstag, 26. April 2005 16:57
wg> An: [email protected]
wg> Betreff: Re: [castor-user] CAstor /Spring
wg> Wichtigkeit: Niedrig
wg> 
wg> 
wg> A few general questions about the whole 'integration' 
wg> thing. I haven't used Spring (I know, shame on me), but have used HiveMind 
so I at
wg> least understand the general type of functionality behind spring.
Great. So at least we share a common language ....

wg> By doing this, what would spring integration make easier 
wg> for the life of Castor end-user developer?
Well, for starters, if we integrated Castor with Spring at e.g. the same level 
as Hibernate, iBatik and/or OJB, you could add a JDO/JDOManager instance and 
its configuration to Spring's main configuration file and obtain a JDOManager 
instance through a simple lookup.

In addition, there's integration to be achieved with how transaction 
demarcation is handled in Spring, hence making Spring's configuration file the 
one and only place where transaction semantics are declared.

Next, (sophisticated) support for building DAOs using Castor as the underlying 
persistence mechanism. Integrate this with the above items, and it implies that 
the number of lines of code that you have to write greatly is reduced.

And there's more ... 

wg> 
wg> What problems would this get rid of, or at least aid in solving?
As mentioned above, having to code everything. And suffering from having to 
integrate various frameworks manually.

wg> Will doing this mean the end users would need to 
wg> "configure" yet more
wg> xml files, or would that be done by the integration 
wg> developers and the
wg> end users get 'plug and play' type setup?
wg> 
wg> With containers in general, what would castor have to gain by being
wg> integrated? Be it HiveMind, Pico, Spring, etc.
wg> 
wg> Again, lack of in-depth Spring knowledge here, but when I 
wg> last looked
wg> at it, for ME it looked like a lot more work then gain. But 
wg> thats me,
wg> and I know for sure that it has its uses, not doubting that.
wg> 
wg> Guess that's just my general thoughts/questions. Feel free 
wg> to yell and
wg> flail wildly if need be.  :)
wg> 
wg> -Nick
wg> 
wg> p.s. Would join you fine folks on IRC, but I'm at work at 
wg> the moment,
wg> and really dont need another reason not to be productive.
wg> 

Reply via email to