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 <[email protected]>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 [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. > > -- 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 [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.
