Knockout for Java
Are you coming from a Java camp, yet interested in rendering via HTML? Well, then you can either use DukeScriptInNetBeans or stay on command and be just three steps (in case you have Maven and JDK7 installed) away from reaching a nirvana. Just type:
$ mvn archetype:generate \ -DarchetypeGroupId=org.apidesign.html \ -DarchetypeArtifactId=knockout4j-archetype \ -DarchetypeVersion=1.1.2 \ -Dbck2brwsr=true
Answer few questions (for example choose myfirstbrwsrpage as artifactId) and then you can:
$ cd myfirstbrwsrpage $ mvn process-classes exec:java
In a few seconds (or minutes if Maven decides to download the whole Internet of dependencies) you should see a sample Hello World application. It is basically composed from one Java and one HTML file:
$ ls src/main/java/**/DataModel.java $ ls src/main/webapp/pages/index.html
Play with them, modify them. Of course, if you use any good IDE that speaks Maven (hint try NetBeans version 7.3 or higher). Your development comfort even increases. For example you'll be able to debug your Java code.
You can also execute the project in a browser, see Bck2BrwsrViaCLI.
The Knockout4Java is now a NetBeans project (see its wiki) and the main development repository is hosted at http://hg.netbeans.org/html4j/ The project is dual licensed under CDDL and GPLwithClassPathException (the same license as rest of NetBeans code), so it should be friendly enough to be used in your own applications.
Let me know what features you miss and what other you'd like to see in the FXBrwsr project.