Hi,

        You should not use io package in EJB. You can write an external (non ejb)
class to write the log information. Send the log information to non ejb
class which will write that information.

Regards,

Vinod Tadepalli

 -----Original Message-----
From:   A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]  On Behalf Of Ritesh_Srivastava
Sent:   Thursday, July 27, 2000 12:26 PM
To:     [EMAIL PROTECTED]
Subject:        How to log information from an Enterprise bean?

How to log information from an Enterprise bean?
while the application is running i have to log the work done by the
client.for this i have a log class that will log the info from the client.
        *       Can i use java.io package in an enterprise bean?
        *       Is there a statdard way for logging info in an enterprise
bean?
Please reply.
Regards,
Ritesh

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