Hi all;

Even if I have no problem yet, I'm questioning myself about session 
management using WCF.

Today, I have services, business objects, translator and entities in my 
project.

Aka :
I've one business object (ge. : a tiers)
I've several entities defining how the tiers object is persisted (done 
because existing database on client server)
I've a translator defining how to build a persistent object graph from a 
business object to an entity on the opposite.

For the session, I've used a singleton, exposing a session through 
spring (handling callback and transaction).
I'm using SQL 2005/2008 and isolation snapshot (many app server can 
connect to the database)

I'm also using a 2nd level cache engine (ncache, but I'm working on 
velocity CTP2 also).

My big problem indeed, is that I'm thinking that what I would need is :
- Disable the identity hashmap of the session (stateless session ?)
- Rely on a global (factory ?) identity factory ?

It would mean that I could have a session aware of any object load by 
any other session within the factory.

I'm not sure it makes sense, but today all unit test are working fine, 
but 'I feel like something is wrong'.

Thanks for your advice !

Fred.


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