Hi,

a while ago I created something like this. Now I created a project 
@googlecode:
http://code.google.com/p/gwt-plug/

You can find a very basic example in the repository. The javadoc should 
help you too.

But currently there are some limitations:
- Classes can only implement one exportable interface (or only one of them 
is really exported)
- you can't define multiple methods with the same name in one interface 
because javascript doesn't support method overloading (as far as I know). 
But I'm working on that point.
- You can only use primitive values and JavaScriptObjects as method 
parameters and return values. That's because:
  1. It's not possible in hosted mode to attach java objects to javascript 
objects
  2. In production mode the GWT compiler transformed your code and the 
classes are probably not equivalent in two compiled GWT applications
  -> I'm thinking about it. Probably it's possible to serialize the java 
objects. But that's not my main focus.

I hope that helps you. If you have further questions, ask them :)

-- 
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/-/auhCep2-G54J.
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