Hi! > marc fleury wrote: > > > > I don't think the context is supposed to be stored with the passivate... can > > someone double check that? > > Just read the spec and the code, setSessionContext is called only once > (during the bean creation). After that, there is no > "unsetSessionContext" as for entities, so the context must remain valid > across passivation/activation. So we have to store it. > > So I guess StatefulSessionContextImpl (and EJBContextImpl) have to be > real classes, unless anybody sees a way out... Hm.. the SessionInputStream should take care of that. SSCI should only have transient state so it is ok to store it. When we activate a session with SIS there is code in there to detect a SSCI and replace it with the real one. Doesn't that work you say? It should. /Rickard
- RE: Re[2]: [jBoss-Dev] CVS update: jboss/src/main/org/j... Bordet, Simone
- Re: [jBoss-Dev] CVS update: jboss/src/main/org/jbo... Sebastien Alborini
- RE: [jBoss-Dev] CVS update:jboss/src/main/org/... marc fleury
- Re: [jBoss-Dev] CVSupdate:jboss/src/main/o... Sebastien Alborini
- RE: [jBoss-Dev]CVSupdate:jboss/src/mai... marc fleury
- [jBoss-Dev] Re:[jBoss-Dev]CVSupdate:jb... Rickard Oberg
- [jBoss-Dev] Re:[jBoss-Dev]CVSupda... Sebastien Alborini
- Re: [jBoss-Dev]Re:[jBoss-Dev]... Rickard Oberg
- [jBoss-Dev] Re: [jBoss-De... Sebastien Alborini
- Re: [jBoss-Dev] Re:[jBoss... Rickard Oberg
- RE: [jBoss-Dev]Re:[jBoss-Dev]... marc fleury
- [jBoss-Dev] Re:[jBoss-Dev... Rickard Oberg
- RE: [jBoss-Dev]Re:[jBoss-... marc fleury
- RE: [jBoss-Dev]Re:[jBoss-... marc fleury
- [jBoss-Dev] Re:[jBoss-Dev... Rickard Oberg
- RE: [jBoss-Dev]Re:[jBoss-... marc fleury
