Monday, August 30, 2010

Re: converting JPA entities to Records

I assume that Joe didn't want to implement Record interface in his JPA
entity and wanted to have no GWT dependecies in the domain objects.
This transformation should be done transparently, so he can work with
RequestFactory without any additional work. GWT generator should do
this work.

Peter

On 30. Aug, 14:46 h., Thomas Broyer <t.bro...@gmail.com> wrote:
> On 30 août, 14:04, Peter Simun <si...@seges.sk> wrote:
>
> > AFAIK, you have existing interface (GWT record) ... and you want to
> > create a concrete implementation of that interface - if you will
> > choose GWT generator or APT/JSR269 processor is does not matter - both
> > can fullfil your needs. processor in the java compile time, generator
> > in the GWT compile time.
>
> AFAICT, the OP was about generating GWT 2.1 record interfaces from JPA-
> annotated classes; at least that's what I was assuming. If you already
> have the GWT 2.1 record interfaces, then you don't need to build a
> generator, as you'll probably use a RequestFactory (why would you use
> a GWT 2.1 record otherwise?).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment