You would have to send xml back to server and there convert to pojos or the 
reverse
Good news is that your jibx pojos can be put in client compile directory so as 
to allow you to use them in the client portion of your code

From: James Cowan [mailto:jamesmco...@googlemail.com]
Sent: Friday, April 30, 2010 11:24 AM
To: JiBX users
Subject: Re: [jibx-users] GWT support?

I doubt it - jibx binding depends on bcel which is not available in GWT 
environment.

Getting GWT to work with any of the XSD compilers is tricky. It is possible to 
use the Castor XSD compiler to generate beans that can be serialised with GWT 
RPC but this is only possible if you switch XML marshalling in Castor - it is 
not possible to get the Castor XML descriptors compiled by GWT compiler.

Probably best to do the XML deserialisation in the server and send it to back 
to the GWT UI using GWT-RPC.

It would be interesting to see if the bcel compiled JIBX classes can be 
serialised to GWT-RPC.

James

----- Original Message -----
From: Andy Tripp<mailto:andrew.tr...@vonage.com>
To: jibx-users@lists.sourceforge.net<mailto:jibx-users@lists.sourceforge.net>
Sent: Friday, April 30, 2010 4:34 PM
Subject: [jibx-users] GWT support?

Hi,

I'm new to JiBX, currently using xmlbeans. I need to parse XML in my GWT app 
and I'm wondering if JiBX can support this.
At a minimum, GWT needs to have "vanilla" Java code in order to translate it to 
Javascript.

So I'm wondering if there's a way to get the binding compiler to operate 
directly on .java files rather than .class files.

Thanks,
Andy
________________________________
------------------------------------------------------------------------------
________________________________
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above.  If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited.  If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.
------------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to