2009/2/17 Graham Bunce <[email protected]>

>
> Thanks Fabio but I'm really confused now.
>
> I presume your post is describing a new pattern instead of the Open
> Session In View described previously. I like the idea of your pattern
> as it seems to suggest its GUI agnostic (i.e. works in WinForms and
> ASP.NET).
>
> However trying to understand nhAddIns which, I presume, is an
> implementation of your pattern that seems to suggest its WinForms only
> and that NHibernate bleeds into the layers above the repository by
> needing to inject an ISessionFactory (which as far as I understand it
> is an NHibernate interface). There doesn't seem to be any
> documentation for nhAddIn's apart from a couple of blog entries and a
> google groups list.
>

uNhAddIns is a compendium of AddIns including UserTypes, Pagination,
SessionManagement, Criterios etc.
More than ISessionFactory what you should know is why we prefer inject it to
the DAO/Repository...
The full description is available in "NHibernate in Action".
I know that my English don sound clear... I know....
Take a look to our reference
http://nhforge.org/doc/nh/en/index.html#architecture-current-session

All session managements of uNhAddIns.SessionEasier are providing an
implementation of ICurrentSessionContext.

About the use of the CxBT pattern (Conversation-per-BusinessTransaction) in
ASP.NET , MVC , WCF is only one of our pending task.
We need some help (time...) to write some good test for each environment.
If you want help us we are here
http://groups.google.com/group/unhaddins

For WEB what should be implemented are :
- IConversationContainer inheriting from AbstractConversationContainer
- The WebConversationalSessionContext implementing ICurrentSessionContext
- at least one IHttpModule to copy the currentConversationId and
the ConversationContainer in the HttpSession (currentConversationId  can be
an hidden input)

-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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