Hi Zabi,

On Tuesday 28 August 2001 04:22, SS Zabiullah-a13771 wrote:
> Hi,
>       By J2EE specs file I/O is not allowed (though some of the j2ee containers
> donot enforce), If castor requires to read files such as castor.properties,
> castorbuilder.properties will there be a problem to deploy the castor based
> application on to a J2EE platform.
Ho are you going to plug Castor into gereric J2EE container (the main 
question is transactions)? The only generic way I can think of is J2EE 
Connector API, maybe it is not so restricted as to file access, I don't know.
BTW, I don't know how those guys who wrote connector adapters for Castors 
solved the transaction problem. Clearly it is necessary to register Castor 
DatabaseImpl as Synchronization with a transaction manager, by does Connector 
API support this? Any comments?
Anyway, getting file from jar via classloader getResource() seems to be spec 
compliant.

Oleg

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to