Is it possible to use Java to program ADSL box?

Hi!

I have to program a small blue print of game on Freebox:


This machine has an access to OpenGL ES 2.0.

I can only use the Elixir SDK that relies on Javascript. Is it possible to use a Java to Javascript translator on such a platform? In the worst case, could GWT be modified to to fit into this purpose? Do you have any idea?

I don’t see GWT being the worst case, I’d recommend trying it first. It’s meant to be used for both client and server side but you can make JavaScript clients on their own with it.

The Freebox uses the same JavaScript interpreter than Firefox 3. I will follow your advice. Thanks.

Now that would be nice!

Ah, my mistake. I read it that you wanted to translate Java to JavaScript. That’s why I recommended GWT.

You were right, I made a spelling mistake, sorry. GWT is a good idea but I’m almost sure it will require some modifications to work with the Elixir SDK.

The maintainer of the Elixir SDK says that the GWT compiler would need to be rewritten to work with Elixir :frowning:

Does someone know how to use JSNI? This allows to call JavaScript from Java in GWT. Maybe it could avoid the painful job of rewriting a part of GWT.