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