Marco et alias, after having (finally) put out the 0.9.6 release, one of the things I really like to do, is to add support for Castor JDO to Spring. I have not looked at the detail yet, but at the base level I'd expect a 'castordaosupport' object to show up in some week's time .. ;-). There's a couple of things I still need to get my head around, but for the time being I need to focus on the upcoming release and the (few) regression issues.
Regards Werner On Thu, 18 Nov 2004 14:39:32 -0000, Marco Mistroni wrote: > >Hello, > I have quickly checked sources of spring to see how IoC is done >with Hibernate, and I thought that maybe trick is passing Spring >Transaction to >Castor JDO object ... but had just a quick look, and since I know castor >only from user point of view...i am not sure if that is the way to go... >And as well something like 'hibernatedaosupport' could be created for >castor, that wraps Castor's JDO.... > >Regards > marco > >-----Original Message----- >From: Marco Mistroni [mailto:[EMAIL PROTECTED] >Sent: 18 November 2004 14:29 >To: [EMAIL PROTECTED] >Subject: Re: [castor-user] Integrating with an IOC container. > > >Hello, > I have thought...... but just thought.... because >I am already using Spring at home with hibernate, and since I want >To switch my persistence layer, I have sent a mail almost 1 month ago >About how to do it.... >Got some replies by castor committers to continue discussion on dev >list, and that some of castor committers has at some point integrated >castor with >Spring, though I am not aware of details.. >But After that I got an huge workload that brought me away from that >Idea... > >I would be interested however in participating on that issue however... > >Regards > marco > >-----Original Message----- >From: Nick Stuart [mailto:[EMAIL PROTECTED] >Sent: 18 November 2004 14:12 >To: [EMAIL PROTECTED] >Subject: [castor-user] Integrating with an IOC container. > > >Hello all, I was wondering if anyone out there has thought about, or >done something with, integrating Castor with an IoC container like >HiveMind or Spring. I know there is a big Spring + Hibernate movement >out there, and was wondering what the possibilies where for doing >something similar with Castor, mainly the JDO part, but there may be >room for doing stuff with XML as well. > >There is a lot of boiler plate code that goes into a lot of functions >when deal with castor. Such as jdo.getDatabase, db.begin, db.commit, >etc etc. To me it looks like this could be wrapped up, but I don't >have a lot of experince with IoC's yet and have only used HiveMind >(which I like quite a bit). > >I think having a layer like this would be pretty cool and actually >pretty helpful as well. I think another option would be using AspectJ, >but thats to non-javaish for me at the moment and a little to Black >Magicish. Maybe when it matures a little bit and gets more tool >support besides just Eclipse it would be something I would look into. > >Any input? Ideas? >-Nick > > > >----------------------------------------------------------- >If you wish to unsubscribe from this mailing, send mail to >[EMAIL PROTECTED] with a subject of: > unsubscribe castor-user > > > >----------------------------------------------------------- >If you wish to unsubscribe from this mailing, send mail to >[EMAIL PROTECTED] with a subject of: > unsubscribe castor-user > > > >----------------------------------------------------------- >If you wish to unsubscribe from this mailing, send mail to >[EMAIL PROTECTED] with a subject of: > unsubscribe castor-user > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
