user123456789
user123456789

Reputation: 77

java applet in app engine

is it possible to create a applet client application in GAE ? i had been browsing for hours and couldnot find whether this is possible... i tried embedding it in the HMTL file also....but it doesnot work...why is tat so?

<applet code="myapplet.class"  width="320" height="120">
</applet>

and my applet class just contains a hello world display.....the myapplet.java shows the following error :

java.awt.Graphics is not supported by Google App Engine's Java runtime environment

Upvotes: 3

Views: 401

Answers (1)

David Rabinowitz
David Rabinowitz

Reputation: 30448

Applets are run on the browser, not on the server. Therefore the web server technology is irrelevant - you can store your applet's jar file on GAE, Tomcat, Apache, nginx or any other web server.

Make sure you put the applet's compiled code in the public part of the WAR, not under the WEB-INF/classes or WEB-INF/lib

Upvotes: 5

Related Questions