Fork us on GitHub

Web App Build Target

In the past we made several attempts at compiling Codename On...

Web App Build Target

In the past we made several attempts at compiling Codename One applications to webapps, these were only partially successful. On the surface this seems relatively simple: just use something like GWT and the Canvas API to generate a web app. However, Codename One requires threads (for the EDT) and that's just not something you can really hide. GWT is also problematic since it requires the source code rather than the bytecode of the application...

A couple of years ago I attended a session from Tony Epple and Jaroslav Tulach at JavaOne where they discussed the work they were doing on bck2brwsr . This looked very interesting and I instantly broached the subject of threads with Jaroslav. Fast forward to today and Jaroslav is interested in implementing threads on bck2brwsr and looking for sponsorship to do that...

That's where we can step in... We would like to sponsor Jaroslav in his efforts which will allow us to do something grand!

We will allow you to just right click a project and select "Build a web app". You will get a self contained app that doesn't need a server side and would be implemented entirely in JavaScript... You would still be able to use threads and most of the standard things Codename One has to offer, some limitations might apply but you should be able to create a completely portable app!
One of the nice things is that due to the architecture of Codename One we belive it would be faster than typical HTML5 framworks since it won't be suseptible to the reflow problems that typical HTML5 code is suseptible to.

To pay for this work we will make this feature enterprise only and would only implemement it if we get 2 annual enterprise subscribers!

This will effectively pay for most of the initial effort required to build this feature, if you are interested in this feature make sure to signup for an enterprise account right now !

Notice that since this feature would require an enterprise account anyway sponsoring this work will cost you nothing.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.