Hi, Nick,
Not sure if this is the type of information you're looking for, but there is a GREAT project called DPML that was recently spun off from Avalon at ASF. DPML has an IoC container called "Metro", which was formerly "Merlin", one of the main Avalon containers. I think you should check this out. Not only is the technology excellent, but you'll also find that the developers there are very skilled and would be open to and interested in helping put something like this together. I've been very impressed by the project myself. You should realise that the project is just getting set up, so there may be a few "issues" for them to deal with in the very short term and there isn't yet all that much info available on the website; but IMHO this could be a really good approach for accomplishing what you're trying to do. I have CCd the dev list at DPML in case you'd like to follow up with this. Regards, Dave > -----Original Message----- > From: Nick Stuart [mailto:[EMAIL PROTECTED] > Sent: 18 November 2004 23: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
