Friday, November 26, 2010

Re: newbie question about external classes

Hi,

You have to have the source code of your classes and let GWT translate
them from Java to Javacript so that they can run in the browser.

Caution: the jre emulation in GWT is limited -> see the list to check
what your business classes can and cannot use. See
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html ->
you may have to modify your business classes to comply with the list
of emulated classes.

regards
didier

On Nov 25, 9:38 am, xalien <xalie...@yahoo.it> wrote:
> hi all, I'm new of GWT and I apologize for my newbie question but I
> never found a response...
> I built a simple GWT application that show some data, the data
> actually is hardcoded on my class. Is it possibile, from my gwt
> class(EntryPoint), to use external business classes(stored in jar) to
> extract and elaborate my data before show it on web page? Compiling I
> receive the error "did you forget to inherit a required module?" but I
> can't inerit my classes because they are not gwt classes...
> Summarizing: is it possible in a GWT project using non GWT classes?
> how?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment