Hi

I've been taking a look at the Castor service in Turbine, and I have some
minor questions.

1.  The getJDO() method currently is:

    public JDO getJDO ()
    {
        JDO jdo = new JDO (databasename);
        jdo.setLogWriter (logger);
        return jdo;
    }

This means every time getJDO is called (it is called on every request for a
connection) a new JDO object is created.  According to the Castor docs
(version 0.8.6) any number of connections can be obtained from a single JDO
object - with the benefit of pooling, etc.  Shouldn't there be only one JDO
object for each Castor service instance or am I missing something?

2.  Has anybody implemented the Turbine Security Mechanism (User &
AccessControlBuilder interfaces) in Castor?  Are they willing to share it
with me :-)?

Regards
Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to