One idea - there are myriad other appenders that don't write to flat files
you may want to consider.
For instance: JMS Appender and Socket Appender.  There is also a JDBC
appender, although there has been talk of it being rewritten.

Mike

-----Original Message-----
From: Mas�r Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 9:20 AM
To: [EMAIL PROTECTED]
Subject: EJB and Log4J


Hi,

I am new in Java and EJB world and I have to create logging infrastructure
component for EJB application.
I am inspecting wheter log4j can meet my requirements.
When I use log4j and FileAppender form enterprise bean am I in collision
with following ?:

The EJB 1.1 Specification, section 18.1.2 (Programming Restrictions) states
the following:
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.

Thanks

Daniel Masar

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

-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
USA, Inc. and are intended only for the addressee(s). 
The information contained herein may include trade secrets or privileged or
otherwise confidential information.  Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful.  If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to [EMAIL PROTECTED]  Thank you

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

Reply via email to