Greetings all,
If I create a SW bean service (annotated with @Service) is this service deployed as a singleton within SW? My initial testing indicates it is: I added a method annotated with @PostConstruct and the method is executed only once when the service is deployed. If this is the case then class level variables would need to be synchronized in order to protect them no?
Earnie!
Hi Earnie
It is my understanding that a SY service is ApplicationScoped, which is similar to a singleton.