On Jul 8, 11:50 am, "Dotan N." <[email protected]> wrote:
>
> so on the contrary - why should the *application* know that there
> is a concept of a session?
>

Why? Because the application is the most concrete concept you could
possibly have.

The whole purpose of the application is to weave together a set of
loosely-coupled components. One such component will be an
"ISessionProvider" or something similar -- the application decides how
that gets initialized, which concrete implementation to use, etc. The
application governs in some manner, via some other component, how the
sessions get opened and closed. The repositories use the session, but
they don't control it -- that would be beyond their scope.


--Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to