I'm not sure what you're asking. The Data Management Service in LCDS relies on 
an adapter layer to integrate into your backend. If your backend is a raw 
database, you may want to use the SQLAssembler for a quick prototype. If you 
have a Java domain model that uses Hibernate for persistence, use the 
HibernateAssembler. If you have some other backend (say an XML database or an 
in-memory data model accessed via a data grid API) you can write a custom 
assembler that would expose it to the Data Management Service so that Flex 
clients can interact with it simply and consistently using the client-side 
DataService component.

It's not a matter of "Data Management Services Vs Hibernate". The Data 
Management Service is just providing a nice client-server API for plugging 
clients in to your backend data, which may or may not involve Hibernate.

I'd recommend focusing on the server-side programming model you want to use for 
managing your data, and go from there. You'd have more opportunities for tuning 
(caching, write policies, etc.) using the HiberanteAssembler or a custom 
assembler than you have with the SQLAssembler which executes raw, parameterized 
queries against your database.

Best,
Seth

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
pradhasan
Sent: Friday, January 18, 2008 2:29 PM
To: [email protected]
Subject: [flexcoders] Re: Hibernate..

In my Flex application with Weblogic appserver, which approach is 
better for performance and transactions. Flex Data Management 
Services Vs Hibernate. Apprecite your help.

--- In [email protected], "Seth Hodgson" <[EMAIL PROTECTED]> 
wrote:
>
> If you have an existing server-side domain model and are using 
Hibernate use the HibernateAssembler. If you don't have any current 
server-side code and just want to expose some tables in your 
database to clients use the SQLAssembler.
> 
> It really comes down to whether it makes sense for your client app 
to be interacting with database tables directly, or whether you need 
be interacting with server-side Java classes.
> 
> Hope that helps,
> Seth
> 
> ________________________________________
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On Behalf Of pradhasan
> Sent: Friday, January 18, 2008 8:41 AM
> To: [email protected]
> Subject: [flexcoders] Hibernate..
> 
> Hi,
> 
> I would like to know for large scale application which one is 
better 
> using HibernateAssembler or SQLAssembler in data-management-
config.xml.
> 
> Thanks in advance.
>
 

Reply via email to