we are looking for a possibility to save a user-specific JAVA-object when a user logs into our EJB3-Bean. Is there a way to save this object in a kind-of-"session", so that it is possible to receive this object across other EJB3-Beans?
Our first tries with SessionContext does not seem to solve this problem, because there is no way to set any values, which leads to the question if the SessionContext is intended to do this. Unfortunately the MessageContext isn´t implemented yet, so we could not try this.
But maybe there is a simple way to save objects across multiple beans according to every principal. If anyone has a solution or a good way to solve this, I´d be glad to share them.
Thanks in advance
Very interesting question, can someone help?