Hi All,
It has mentioned that usage of static fields are restricted in
EJB. But when i created a non final static filed in Stateful ejb, it worked without any error.
So does that means container not giving any error with these kind of things? It is up to the developer to use it properly?
I know the reason for this is that in a distributed environment it is difficult to handle static fields if there are multiple JVMs.
Thank you.