Re: facade stored in Session

2007-06-14 Thread Daoud Abdelmonem Faleh
On 6/14/07, Roger Varley <[EMAIL PROTECTED]> wrote: On 02/06/07, Mansour <[EMAIL PROTECTED]> wrote: > Hello every one: > I am trying to access my business layer from Actions. However, I need > to hold a reference to the business layer facade and access it from any > Actions classes. I am saving

Re: facade stored in Session

2007-06-14 Thread Roger Varley
On 02/06/07, Mansour <[EMAIL PROTECTED]> wrote: Hello every one: I am trying to access my business layer from Actions. However, I need to hold a reference to the business layer facade and access it from any Actions classes. I am saving the reference to servicesFacade in a session and retrieving

Re: facade stored in Session

2007-06-14 Thread Mansour
Basically, because of the performance issue. It takes a while to initialize the facade with every single request. What's the problem with this ? Frank W. Zammetti wrote: It may be OK, but my experience tells me its atypical... the question I would ask is why you need to cache the reference to

Re: facade stored in Session

2007-06-02 Thread Frank W. Zammetti
It may be OK, but my experience tells me its atypical... the question I would ask is why you need to cache the reference to the facade in the first place? Typically you get an instance of it, either a new instance or a pooled instance from a JNDI lookup or some factory or something along those

facade stored in Session

2007-06-02 Thread Mansour
Hello every one: I am trying to access my business layer from Actions. However, I need to hold a reference to the business layer facade and access it from any Actions classes. I am saving the reference to servicesFacade in a session and retrieving it in the Action. I am having no problem with