HI all,
I have one question:
I like to use JPA EJB(actually its already done) backend and now to
create a JS UI with gwt.
The problem comes when I want to use the domain pojo-s as a dto-s for
the RPC because of the javax.persistance.*
annottaions in the pojo-s, the compiler asks for the source code when
compailing to JS objects.
What would be the best solution to this?
1. I can create a new plain pojos from the old jpa domain pojos with
exactly the same fields. Will alwasy work, but this looks like a overwork
for noting, also in the project Ill send a list of 5-6000 pojos to the
frontend, so Ill lose a O(n) time to recriate the new DTO-s.
2. If try to include the source code for javax.persistance.* will
this work? Has someone tried this? I think most of them are having
RETENTION=RUNTIME so the compiler shoud totaly dont care about them..but..
Any idea or expiriance on this?
Tnx,
Blaze
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/NaQAaEJZamsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.