|Riena / CDO / JPA Integration [message #574610]
||Wed, 10 September 2008 13:07
Registered: July 2009
HI I started an email discussion with christian, which he liked to see |
on the newsgroup.
What I want to talk about is JPA Integration. I see many places were
lazy loading in a rich client would be a great thingy to have. I had a
look ad several existing implementations (most of them are aop hacks)
but nothing satisfied me. Christian told me that so far there is nothing
like that in riena. Gavin King from Hibernate has a strong opinion on
why not to remote lazy load which i can understand. I don't know other
JPA implementations but in hibernate lazy loading is very tightly
coupled to the session and all existing solutions break the
what i recently thought about is having something like a remote session
on top of hibernate (as for eg jackrabbit has). that would mean keeping
an entitymanager/session on the server over several client requests.
I would like to hear what you think about that idea, far off from what
it would take to implement something like that. I agree with christian
that approaches like cdo may not scale well in large environments, and I
wonder if keeping thousands of sessions on the server would scale.
Powered by FUDForum
. Page generated in 0.01991 seconds