application and session scope components?

2005-06-11 Thread Johnny Le
Hi, I have several components that are the same for all users throughout the site. So I put them in application scope. I just developed a component that is specific for each user. So I put it in session scope. The problem is that I need to pass this sesion scope component into those

Re: application and session scope components?

2005-06-11 Thread Barney Boisvert
You should pass the session-scope component into each individual method call on the app-scope component that needs it, but never storing the session-scope component in an instance variable. That'll keep your app-scope components session-neutral. If you find that every method (or at least the