cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: ROP [Was: [jira] [Commented] (CAY-2038) Hessian serialization error when using JSR-310 Date types with ROP]
Date Mon, 14 Dec 2015 01:41:46 GMT
On 13/12/2015 7:00am, Andrus Adamchik wrote:
> Another possible direction with ROP is to strip it down to a very simple and performant
"ORM proxy":
> 
> * define a protocol for protobuf and JSON serialization (still need to look at Kryo).
Limit it to the smallest usable subset of queries (EJBQL is a good candidate ... any other
object select can be translated to it) and generic update operations.
> * make the server generic - use generic entities instead of precompiled Java classes.
> * remove stateful ObjectContext layer from the server. Perhaps serialize DataRows directly
(can be tricky with prefetching, but doable). Will still need request-scoped ObjectContext
for commits I guess.


I'm not really understanding the point of an ORM proxy. What does it give you that JDBC doesn't?

Ari


-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Mime
View raw message