Rickard Oberg wrote:

> 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

It does, but I also have to add a no-arg constructor in
EnterpriseContext, and to do the same for the inner classes in
EntityEnterpriseContext and StatelessSessionEnterpriseContext.

Now which solution is the less ugly? ;-)

Sebastien

> 
> /Rickard

Reply via email to