I suggest u to continue to use Singleton rather than Factory pattern.  You
just need to use the interface of singleton and is written into Log files...
Why do u want to create many objects for logging.   I strongly suggest that
you go ahead with Singleton pattern...

Other members can debate on this...


-Charan


----- Original Message -----
From: "Murali Mohan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 11:14 AM
Subject: Logger singleton or abstractpattern method


> Hi I am using  Singleton Pattern for Logger object.
>
> is it better or using  Factory for  Logger????????
> If I use factory  it creats somany objects.
>
> Thanks,
> Murali
>
>
===========================================================================
> 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