EJB-CMP/CMR/EJB-QL sounds nice. What to use in .NET?

In my recent post I talked about the problems with selecting an architecture that supports handling of large object structures in memory.

The datasource is designed to hold huge loads of data, and this cannot be initialized in memory all at once. The question is how to be able to work on object references and abstract away from the datasource at runtime.

Because I work paralell in both java and .net environments I've searched both. I found a couple of interesting presentations and whitepapers at Oracle:

Week 9 and Week 10
Both links are somewhat unstable today, so if you can't get in, try to login to otn first and then access this url: http://otn.oracle.com/tech/java/architect/

In the java world there seems to be a lot of interesting stuff going on with EJB-CMP/CMR.

Container Managed Persistence/Container Managed Relationships (see intro here) delivers lots of free neat stuff like object caching and search on object level with EJB-QL.

With this technology you get a unified way to access your objects with a seemingly complete abastraction from the data source, and with lazy loading objects are (magically?) pulled from data source when needed?

Still reading about this and working up a sweat to get my test environment up and running.

The big question is: What does the .NET platform offer when it comes to OR services like this?

1 Comment

  • ObjectSpaces to be released w/ the next version of the framework might be of interest to you... there is a preview version they passed out at the last PDC which you can get to install on the RTM w/ a little hacking.


Comments have been disabled for this content.