Note that there are some explanatory texts on larger screens.

plurals
  1. POWhich classes can be used in GWT app deployed to Google App Enginge?
    primarykey
    data
    text
    <p>I'm writing an app with GWT, which I want to deploy to Google App Engine. I want to use some classes from JRE, like <code>java.io.BufferedReader;</code> <code>java.net.URL</code> <code>javax.crypto.Cipher</code> <code>java.util.zip.InflaterInputStream</code>, which are listed on <code>JRE Class White List</code> - <a href="https://developers.google.com/appengine/docs/java/jrewhitelist" rel="nofollow">https://developers.google.com/appengine/docs/java/jrewhitelist</a></p> <p>I'm using eclipse and when I'm trying to run my app locally compiler throws me errors like <code>[ERROR] [gwtlist] - Line 46: No source code is available for type java.net.URL; did you forget to inherit a required module?</code>.</p> <p>In <code>Google App Engine General Questions</code> - <a href="https://developers.google.com/appengine/kb/general#language" rel="nofollow">https://developers.google.com/appengine/kb/general#language</a> it's said: <code>...Also, Java-based applications may only use the JRE classes in the JRE class white list.</code></p> <p>My question is if am I thinking wright or wrong? Is this <code>JRE Class White List</code> can be used on client side, or maybe it is only useful for server side code? In this case I don't need to use Google App Engine, 'cause all the client code has to be written only in pure <code>GWT</code> with some java classes from <code>JRE Emulation Reference</code> - <a href="https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation?hl=es-419#Package_java_io" rel="nofollow">https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation?hl=es-419#Package_java_io</a>. In this case what is the goal of Google App Engine? Is it only to emulate server?</p> <p>Edit: In case when Google App Engine can only emulate JRE classes on server side, could you tell me where exactly app is running. I mean situation as:</p> <p>App is deployed on Google App Engine.<br>Client runs app and loggs in.<br>Server side code opens external file on other server, decompress it and sends the result to a client side.</p> <p>My question is how the <code>transfer</code> is working? Is it everything inside Google cloud, or do client has to download e.g. this uncompressed file?``</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload