Hello Frans,
  I think that statefull/stateless is just an option and it is not the
problem here.

I mean that the interesting part of CMP is the declarative programming
approach: it gives programmers the ability to declare a map from Object
Properties to Db Columns and then automagically  obtain
Retrieve/Save/Delete methods and Properties getter/setter implemented
without coding. Then programmers just code business logic.

For sure CMP work well for simple entity object... (80%?) but it's possible
to code complex objects (20%?) persistence as with BMP.
This was my idea.
Don't you agree?

And here is a question for a code generator developer as you are: do you
know a generic tool that generate code from a code tempate after applying
modification declaratively described in XML format?

TIA, (luKa)

On Tue, 11 Feb 2003 20:33:03 +0100, Frans Bouma <[EMAIL PROTECTED]> wrote:

>> I'm looking around to find something similar to
>> Container-Managed Persistence (CMP, from the  Java world)  in
>> the .NET world.
>>
>> I've got this idea because I've just finished to code
>> interfaces and services that help to code persistence for
>> entity objects just like Bean- Managed Persistence (BMP, from
>> the  Java world). CMP is one step over, it gives a
>> declarative way to develop object persistence.
>
>        Because COM+ and MTS are stateless frameworks, I don't think a
>lot of people are willing to go for a stateful persistent framework,
>it's too easy to go the stateless route.
>
>> I think it's a big project to develop CMP-like framework (or code
>> generator) by myself , I cannot afford it!
>> So I would like to know if there is a *good* open source
>> project out there or if Microsoft is going to do something
>> similar to CMP.
>> I've heard rumors about Microsoft OpenSpaces, but it seams to
>> be more similar to JDO than CMP, I've also seen open-source
>> projects in SourceForge.net but none of them seams to meet
>> wide community acceptance.
>
>        Are you refering to Object Spaces, btw?
>
>        Object Spaces was a nice rumour, however I never saw it working.
>The newsgroup is not that active either :(. As a code generator
>developer (LLBLGen) I'm very interested in the functionality of Object
>Spaces, because it makes code generation for tier-stack applications
>easier. However, because most developers who are already developing
>n-tier applications on Microsoft platforms are used to work with
>stateless environments, I don't think a lot of people will go for a
>stateful approach.
>
>> What are you doing about persistence?
>
>        Nothing really, I only see the benefits for stateful code in 1-
>or 2-tier single user clients.
>
>> Do you know more about  OpenSpaces (design, db support,
>> release date, licensing)?
>
>        afaik it was a research project that was never developed into a
>product.
>
>        FB

Reply via email to