Hi,
Appologies in advance for a 'heavy' technical
question, but I reckon that it may be of interest to
cocoon-users.
My Cocoon-based application requires access to an
ftp repository, both for upload and download support. I have an ftp-client
implementation that allows me to perform this work.
My question has two parts - firstly, is there
an easy way to bind to configuration parameters (IP, user, password, etc)
from cocoon.xconf? I figure that I need to implement some Avalon framework
interfaces, but then the question is which ones, and how do I register the
component?
The second is related, but concerns connection
pooling - in a manner similar to SQL connection pooling. Can the connection
pools be associated with external components, or just Cocoon internal ones?
Also, can someone indicate how I would go about registering / configuring such a
pool?
Many thanks,
Adrian
|