S
steven
I'm considering implementing the Unit of Work pattern that is in
Fowler's PoEAA book.
First, two assumptions:
1. It's per session thus must be a singleton.
2. I will store it in session.
Now, where is the best place to initialize this unit of work? I'm
thinking in an http module and placing it on a running thread using
CallContext. Then it should be available to my middle-tier.
Can anyone verify I'm on the right track or offer suggestions? Thank
you.
Fowler's PoEAA book.
First, two assumptions:
1. It's per session thus must be a singleton.
2. I will store it in session.
Now, where is the best place to initialize this unit of work? I'm
thinking in an http module and placing it on a running thread using
CallContext. Then it should be available to my middle-tier.
Can anyone verify I'm on the right track or offer suggestions? Thank
you.