to:Jevang 我想知道你在用什么?

03-06-11 菜才子

Jevang

thank you very much .

我的意思是说类似EXPRESSO的FRAMEWORK,你说不喜欢他DATA层,那你们又是如何做的呢?

谢谢

Jevang
2003-06-11 12:55

I did some research on expresso a year and half back, at that time, CMP is not mature, JDO are barely heard, but I still think I should first evaluate/integrate available persistent frameworks before commit too much effort on building my own.

Expresso framework has many nice features, but I feel its database object make business logic too tight with its SQL logic. This makes it very inflexible to change on either side and leads to bulky code, especially if you want lots code generation but still maitain business logic kind of independent from schema.

Today we have many choices, if I was dealing with a small set objects but requires sophisticated O/R mapping, then I will pick CMP from app servers.Or JDO products, as they generally don't put persistent logic into your business object at source level, they handle Persistence thru inception or binary manupilaton. If your app need consider portable across database, a pluggable persistent layer is very important.

My topas has a more strainght forward PM layer compare to CMP, it's best for large number of objects but most of them are direct mapping from business object to table, of course, virtual attributes or object joint is supported out of box as well. the key point is, like CMP or JDO, topas PM is done in a delegation fashion. BO contains no knowledge about persistence, it is handled by adaptors, that can be a sql adpator to generate sql, or JMS, or XML adpator to other type resources. So topas + CMP would be my choice, and for others,in IMHO, JDO+CMP should be the way to go.

Hope this clarify my view on PM.

-Jevang

libing
2003-06-11 16:31

I FU LE U

你的英文的确很好,我的6级真是白过了

你的topas是自己开发的吗,我从未听说过,能简单介绍一下吗?

link
2003-06-13 14:42

我也很有兴趣。我也想了解一下。

Jevang
2003-06-14 00:17

libing, link,

thanks for your interests, this thread has a FAQ doc at the bottom of my post.

http://www.jdon.com/jive/thread.jsp?forum=106&thread=7015&start=0&msRange=15