Hey
Ron Yust wrote:
> Do you have a recommendation on how to perform logging to a flat file with
> an EJB bean. Typically, servers need to record transactional,
> informational, or error logging for later analysis or review. Thanks.
Option 1: Just make a logging service, as you would in any other app.
Use right away from your beans, but be sure that you got the classloader
thing covered.
Option 2: Use JMS. Send messages to some queue which has a receiver that
performs the actual logging to the file.
Option 3: Check if the server has builtin support for such logs (it
should if it costs a lot of money..)
2 (or 3) is preferred if possible IMHO.
/R
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".