Hey All,
    Just to set the background I'm currently using JAXB to parse xml
when it's returned from the server and when I need to serialize the
objects it obviously doesn't work because GWT doesn't have access to
the jaxb source.

    In order to get the RPC objects serializing correctly I had to
create a mirror of the object without any jaxb annotations or
marshaling included.  Now, when I receive the response objects I have
to manually loop through all of them and create mirrors of each
object.  This is definitely not preferred.

    As an attempted solution I was trying to "trick" the GWT compiler
by creating an interface (without the jaxb dependencies) for the RPC
object to inherit.  Once completed I declared all my references as
this interface rather than the actual jaxb object.

    My hope through all of this was that when GWT went to compile
these objects the compiler would grab the values off of the
implementation and pass them over to the client where the client would
not know of the implementation but would still be able to interact
with the interface methods.

    My first question is, can the compiler compile the interface
without the source of the implementation?

    Secondly, if I can, I'm currently getting a "No source code is
available" message for my interface even though the source is included
in the dependency jar along with the gwt.xml that's needed.  Does
anyone know why this is?

Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to