I didn't but I guess you can do something like that (specially soon with the new jdk7 sutff of modules). Btw, if you don't force to use the applet - I would 'just' use GWT as it is - you will get good performances and all the good stuff that is coming for free with gwt.
Hope it help. Ido -- http://java-one-buzz.blogspot.com On Mar 31, 10:24 am, Mark Renouf <[email protected]> wrote: > This probably sounds weird and I'm already questioning the reasoning > behind it myself, but... > > Has anyone tried using GWT-RPC within a Java Applet? I'm thinking of a > scheme where the Applet could actually initiate ("push") responses to > the page, and vice-versa, by just calling a JavaScript method... the > page could probably encode requests to the applet, treating it like a > server, but skipping the HTTP and just passign the GWT-RPC payload. > > I beleive you can just pass JavaScript objects back and forth > (LiveConnect?) But it would be nice to make use of GWT-RPC to handle > the conversion into native Java types. I think all you'd need to do is > seperate the marshalling portions from the the Servlet code. This has > been done to support php and python I think, right? > > Anyway, just a wacky idea, not sure what I'd use it for but... I might > come up with an idea ;-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
