No, I am not asking if I can use one.
But the question is..how do we simulate a static variable, if at all I need to?
also, suppose my session bean uses some plain old java object to a thing or two, for ex:
public sessionBeanMethod() throws EJBException {
....
....
Foo f = new Foo();
f.doSomething();
}
Suppose doSomething() inturn incrments some static variable with in Class Foo - did we go against EJB Spec?
TIA
-
static variables in a session bean (0 messages)
- Posted by: ranji c
- Posted on: December 27 2005 17:23 EST