Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Static block issue.

Panos Konstantinidis

2004-09-29

Replies:

> 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)".
©2008 junlu.com - Jax Systems, LLC, U.S.A.