Thanks a lot.
Manish
-----Original Message-----
From: A mailing list for Java(tm) 2 Platform, Enterprise Edition
[mailto:J2EE-INTEREST@(protected)
Sent: Wednesday, September 29, 2004 12:58 PM
To: J2EE-INTEREST@(protected)
Subject: Re: Static block issue.
> Now my question is if n no. of beans create the object of this class in
the
> same JVM. Then its static block would be called only once.
> Is this correct? Please let me know from your all good side.
>
A static is always a static regradless of where it's being used. So it will
only be loaded once per classloader.
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".