Hi,
If my
EJB wants to use a singleton utility method. What should be considered?
The creation of my singleton getInstance() method will have a synchronized on it, does this violate EJB spec. as it forbids the use of synchronization in EJB?
If this is OK, would that be a performance issue since all calls have to synchronize on this creation method.
What would be a good way of doing that?
Thanks.
Yan