On 2002.01.25 05:41:27 -0500 Andrea Cervellati wrote:
> Hi,
> 
> I have a web app that manages the uploading and downloading of files.
> 
> I use a database to store some informations related to each file, such as
> 
> descriptions and an index for categories.
> 
> So I have some EJBs with methods for udate, insert and delete files in
> the file 
> system and related informations in the database.
> 
> If an exception occurs while a method is executing, the jboss transaction
> 
> management provides the rollback on the database, but not in the file
> system.
> Why?
> Isn't the file system an EIS resource too?
file systems are usually not transactional.
> 
> Is it possible to make jboss handle transactions both for the operations
> on 
> database and for the ones on the file system?

Good luck.  Save the files as blobs if you want transactions, or find a way
to implement compensating transactions.

david jencks
> 
> Thanks
> 
> Bye
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to