Hi, I'm sure there is answer to this question already. How do I take a java class and export it to a javascript library?
I found an article here: http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrariesToJavascript_en However, it appears I will need to import a jar not part of the standard SDK. It seems like GWT should be able to do this already? For example: public class TestCodeLibrary{ public int add(int a, int b){ return a+b; } public int subtract(int a,int b){ return a-b; } } I want this to compile to into a javascript library called TestCodeLibrary.js. It appears that GWT will build various permutations for each browser, but in this case, I don't need 6 different permutations, this code here will work across browser. Any thoughts? Thanks, Ron -- 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.
