On Sun, 5 Nov 2000 02:38:22 -0500, James Cook <[EMAIL PROTECTED]> wrote:

>Nothing has changed. The spec states:
>
>"An enterprise bean must not use the java.io package to attempt to access
>files and directories in the file system. The file system APIs are not
>well-suited for business components to access data. Business components
>should use a resource manager API, such as JDBC API, to store data."
>
>But, of course, we can all think of many situations where we want to use I/O
>that has nothing to due with transactional issues. Most EJB servers do not
>prevent you from performing file I/O. Do any?

jBoss does this by default, but you can turn it off if you want to. I
don't see the value in turning it off just to be able to do I/O in the
beans though since that is counter-spec, and not really necessary.

Implement the I/O stuff in a separate library that the bean can call
instead. The only reason I see for turning off security is performance.

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

===========================================================================
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