I have quit a simple question I guess, but I can't figure out a solution so far.
I have two different components each is ScopeType(CONVERSATION)
One of the components is a class which queries (person) objects from the database. Now I need that object in the second component, but I can't pass it throught, becouse its different conversation scope. I also can't merge the code from the two components, because the search class is used somewhere else too.
So how can I pass obejcts through different conversations? Or better, how can I access the person object in component one from component two?
thx for reading
You could have a session scoped component where you have common objects. If you know the ID of the other conversation, you could hang it on a Map with the recieving conversation ID as key.