Hello! I'd like to run some code after an injection has been done in a stateful session bean. Wouldn't hurt to run it right after all injections have been done. setSessionContext is never called and @Create seems to be too early.
The goal is to notice the changes that were done to my object. So I want to cloan upon start of the session bean and when it's flushed to the database, I'd like to look at the changes.
@Create seems to be too early.
session bean and when it's flushed to the database
A session bean that is flushed to DB?
There are also explicit annotations for session bean lifecycle notifications, see for example