Originally posted by Adeel Ansari:
Where is the problem.
Tell the details
[ May 17, 2005: Message edited by: Adeel Ansari ]
However the real question is whether synchronized block of code might be allowed or not with ejbs.
Generally speaking is better to use the synchronizedCollection() method of the Collections class:
Originally posted by Jeanne Boyarsky:
Robert,
Yes it is allowed. Whether it is a good idea or not depends on what you do in the static section.