Hi! > I tried that, but I kept getting this exception: > > java.io.InvalidClassException: > org.jboss.ejb.EnterpriseContext$EJBContextImplMissing no-arg constructor > for class > > EJBContextImpl does have the no-arg constructor, but I think it has to > do fact that it is an inner class. (I added no-arg constructors > everywhere, but always got this exception) > > Any idea? (making it a real class is going to be painful) > Try this: - Make it a static inner class - Add a one-arg constructor that taxes the EnterpriseContext - Store EC inside inner class and change uses of EC variables to that - Make EJBContext serializable, but mark all fields as transient Should work /Rickard
- [jBoss-Dev] CVS update: jboss/src/main/org/jboss/ejb... jBoss CVS Development
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
- Re: [jBoss-Dev] CVS update:jboss/src/main/o... Rickard Oberg
- Re: [jBoss-Dev] CVS update:jboss/src/ma... Sebastien Alborini
- Re: [jBoss-Dev] CVSupdate:jboss/src... Rickard Oberg
- Re: [jBoss-Dev] CVSupdate:jbos... Sebastien Alborini
- [jBoss-Dev] Re: [jBoss-Dev... Rickard Oberg
- [jBoss-Dev] Re: [jBoss... Sebastien Alborini
- Re: [jBoss-Dev] Re:[jB... Rickard Oberg
- Re: [jBoss-Dev] Re:[jB... Sebastien Alborini
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
