![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Why the restriction against using static variables inside EJB classes? Cause we like it that way. If they weren't static they'd be all over the place. There has got to be some order in this world Frank. If the docs say don't do then just don't do it. Why you always wanting to buck the system? You some sort of trouble maker or something? > Why the restriction against using static variables inside EJB classes? What about classes used by an EJB that are not the EJB class itself? I find it convenient to have statics that are initialized the first time the EJB is used, and they seem to work, so what's the problem? The docs say don't do it.
Replies: |
Sponsored Links
|