You can use JSP or servlet to convert file content to java object and let
EJB do work

Fei Li

-----Original Message-----
From: Steve Gardell [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 6:24 AM
To: [EMAIL PROTECTED]
Subject: File access, etc.


We have an application that deals with a large
quantity of multi-media data associated with a
relational database. The multi-media files are stored
directly on the file system. Conceptually they are
columns in a database schema; however the reality
is that relational databases are not really "up the task"
of managing this data, so the relational database
contains pathnames.

We would like to manage these associated files via
EJB. Basically this means creating, deleting, and
returning pathnames. The EJB server would (at
least typically) never be concerned with the contents
of the files.

We understand that the spec prohibits this but are
at a loss to understand why. They are really just an
element of our persistent store... We are hesitant to
just cheat since we understand that access to file
system might be "yanked" at any time.

Along a similar vein, we can imagine storing persistent
data in a variety of other places such as a Radius
server, an IMAP server, an LDAP directory, etc. I
imagine that there is something buried in the spec
about using EJB's in such an integration role, but I
can't find it.

Any elucidating comments would be most welcome.

Steven Gardell
Principal Engineer, Iperia Inc.
781-993-3544

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to