Just to add on to point 6. Since the entity in Cayenne can be
programmatically construct, it should be possible to read OFBiz's entity
files.


james_sg wrote:
> 
> Hi all,
> 
> Apache Cayenne has the closest match to OFBiz Entity Engine. 
> 
> A few points about Cayenne:
> 1. Cayenne has generic object while OFBiz has Generic Value.
> 2. Cayene has DerivedDbEntity (depreciating) to OFBiz's View Entity.
> 3. Cayenne has a gui modeler to map the database.
> 4. Cayenne supports applications running in cluster.
> 5. OFBiz requires the developer to explicitly save each generic value. In
> Cayenne, the developer to save the Generic Object and any associated
> Generic Objects are implicitly saved.
> 6. Like OFBiz, the database definition files for Cayenne can be separated
> and grouped under domains and combined at runtime.
> 7. Cayenne gui modeler has function to merge database changes, but OFBiz
> does that automatically.
> 
> If there is a need or business case to support the swapping of the entity
> engine, it should support similar ORM and follows the api used in OFBiz.
> 
> Also note there is a JPA standard for ORM that uses POJO.
> 
> Regards,
> James
> 
> 
> Scott Gray-2 wrote:
>> 
>> Hi Chris,
>> 
>> Could you explain how you envisage swapping the entity engine with
>> hibernate considering one uses Maps (GenericValue) and the other uses
>> POJOs to represent data?
>> 
>> Thanks
>> Scott
>> 
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> On 18/09/2010, at 1:32 AM, chris snow wrote:
>> 
>>> I  would see entity engine and service engine as separate modules.
>>> 
>>> Each module should have clearly defined api defining how they interact
>>> with the outside world.  A clearly defined api will facilitate
>>> swapping parts.  For example, the entity engine could be replaced with
>>> a hibernate based engine as long as the api was implemented.
>>> 
>>> (also there would be a module for Birt)
>>> 
>>> On Fri, Sep 17, 2010 at 2:06 PM, BJ Freeman <bjf...@free-man.net> wrote:
>>>> to me framework is what has not ability to interact with the real
>>>> world,
>>>> like party, but just the tools.
>>>> so base layer is Entity and service engine.
>>>> Next layer is Webapp and Widgets.
>>>> next layer is Webtools
>>>> next layer is security and common
>>>> 
>>>> A person should be able to enable those things that they want for their
>>>> application.
>>>> 
>>>> 
>>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/why-we-should-have-a-10-04-standalone-framework-release-tp1568563p2544818.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to