|
Re: Binding [message #538093 is a reply to message #537648] |
Fri, 04 June 2010 22:13 |
Eclipse User |
|
|
|
On one hand side we are talking about data transfer objects (DTO’s) and
on the other about the persistency layer.
Data Transfer Object DTO
------------------------------------
Eclipse Scout form data concept covers this part. Form data are data
beans of a forms or similar to be transferred between client and server
side. Every form provides an import and export mechanism for form data
out of the box. Form data can either be written by hand or generated by
Scout SDK (development environment), second makes life much easier. Of
course is the usage of form data optional and developers can implement
their own DTOs or use DTOs provided by a persistency layer.
Persistency layer
-------------------------------
The usual behavior of a scout service implementation server side is to
fill a DTO requested of the client. In almost all of our projects (+-40)
we do use direct JDBC access to a data base and bind the result set to
the DTO. This is mainly driven to achieve best possible performance. Of
course the developer of a Scout application can decide to use a
persistency layer as Eclipse Link or Hibernate. We do have experiences
in using Hibernate as a persistency layer it does fit well in the Scout
architecture.
Hope it helps
Andreas
Werner Keil wrote:
> There is/was an Eclipse project named UFaceKit.
>
> Also covering data binding.
>
> How does Scout relate to this or other binding-related projects?
>
> Thanks,
> Werner
|
|
|
Re: Binding [message #581278 is a reply to message #537648] |
Fri, 04 June 2010 22:13 |
Eclipse User |
|
|
|
On one hand side we are talking about data transfer objects (DTO’s) and
on the other about the persistency layer.
Data Transfer Object DTO
------------------------------------
Eclipse Scout form data concept covers this part. Form data are data
beans of a forms or similar to be transferred between client and server
side. Every form provides an import and export mechanism for form data
out of the box. Form data can either be written by hand or generated by
Scout SDK (development environment), second makes life much easier. Of
course is the usage of form data optional and developers can implement
their own DTOs or use DTOs provided by a persistency layer.
Persistency layer
-------------------------------
The usual behavior of a scout service implementation server side is to
fill a DTO requested of the client. In almost all of our projects (+-40)
we do use direct JDBC access to a data base and bind the result set to
the DTO. This is mainly driven to achieve best possible performance. Of
course the developer of a Scout application can decide to use a
persistency layer as Eclipse Link or Hibernate. We do have experiences
in using Hibernate as a persistency layer it does fit well in the Scout
architecture.
Hope it helps
Andreas
Werner Keil wrote:
> There is/was an Eclipse project named UFaceKit.
>
> Also covering data binding.
>
> How does Scout relate to this or other binding-related projects?
>
> Thanks,
> Werner
|
|
|
Powered by
FUDForum. Page generated in 0.04359 seconds