I have the same issue. Someone told me they think Veritas has one, but it may be for their own internal use. While I understand the spec's rational for not permitting file operations, this is often necessary. In our case, we are implementing beans directly on top of someone else's data, which is in a file. Stuffing this into a database to get around the spec is not an option.
Eric -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adrian Brock Sent: Friday, January 25, 2002 6:42 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Transaction management Yes, You need to make the file access through a resource manager that understands transactions, in a similar way to database access. I'm not aware of an example of this, perhaps somebody else can knows a link? Also, technically according to the spec an ejb cannot use java.io.File operations. Running according to the spec's security you would get a security exception. JBoss by default doesn't run with a security manager installed. Regards, Adrian >From: Andrea Cervellati <[EMAIL PROTECTED]> >Reply-To: Andrea Cervellati <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [JBoss-user] Transaction management >Date: Fri, 25 Jan 2002 11:41:27 +0100 (MET) > >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? > >Is it possible to make jboss handle transactions both for the operations on >database and for the ones on the file system? > >Thanks > >Bye > > >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com _______________________________________________ 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
