Thursday, March 1, 2012

Re: using GWT to simplify a big stack of data transformation

Hi, thanks both for the answers. OK maybe use the POJOs in client code
will not be a good idea, but my idea was to generate POJOs on the
server side and passing to the GWT client through RPC. Do you think it
is feasible ?

On Feb 29, 9:42 am, saida dhanavath <dhana....@gmail.com> wrote:
> Hi,
>
> As long as you provide the required source code for the generated POJO's to
> GWT compiler for generating the JavaScript it will work.
>
> But, I think when you generate POJO's using XMLBeans, your POJO's will have
> some dependency on XMLBeans (Data Binding) annotations and GWT compiler
> forces you to provide the source code of XMLBeans, I don't think it's a
> good idea use generated POJO's in GWT client code.
>
> we also had very similar requirement, and we went on having separate view
> beans for GWT client.
>
> I hope this helps you!
>
> Regards,
> Saida.
>
> On Tue, Feb 28, 2012 at 2:19 PM, Domenico <domenico.scarmozz...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > Hi,
> > I'm trying to simplify the stack of a web application (based on J2EE)
> > that takes an XML profile from backend convert it in a POJO (with some
> > XML data binding tool) and then throughout several data
> > transformations it becomes a view bean and then presented in
> > JavaScript. The idea is to simplify this stack using XMLBeans to
> > generate automatically the POJO and using directly this POJO in the
> > GWT application (without any intermediate transformation). Do you
> > think is it possible to use this strategy, in particular using a
> > normal POJO in the GWT application?
>
> > Thanks a lot for your help
>
> > --
> > 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.
>
> --
> Regards,
> Saida Dhanavath

--
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