Hi community,
I'm deploying an EJB which should set a timer and be triggered by it every 24 hours. But where should I set the timer? @PostConstruct
does not help -- this is a session bean, so post-construct method will be invoked when the actual instance is created (this never happens as the sole purpose of this bean is to track timer).
Is there any other way to get notification about the bean deployment (not instantiation) in order to set up timer there?
Thanks