>> The EJB specification says that an EJB should not
perform file I/O.

Partially true...  The spirit of this restriction is that a j2ee app should
not use the io package for "business data".  The reasoning is simple, io
access is generally not transactional.  Most people would not consider logs
under the heading of business data; typically I want log messages to be
written iregardless of whether a transaction commits or rollbacks.




-----Original Message-----
From: Jonathan Whitall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 9:05 AM
To: [EMAIL PROTECTED]
Subject: Log4J and EJBs


Hello,

This is more of a generic third-party logging question
as opposed to a Log4J question, but I thought some of
you might know the answer.

The EJB specification says that an EJB should not
perform file I/O.  I was wondering why this is the
case, and if using a third-party logging package (such
as Log4J) constitutes a violation of this nature if it
is set up to use a FileAppender.

Thanks for your input,

Jonathan

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to