ko/archetype/src/main/resources/archetype-resources/src/main/java/Main.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 09 Jun 2014 09:38:03 +0200
branchclosure
changeset 1615 80e39583b35d
permissions -rw-r--r--
Launching the application from a fully built distrution directory structure
     1 package ${package};
     2 
     3 public final class Main {
     4     private Main() {
     5     }
     6     
     7     /**
     8      * Called when the page is ready.
     9      */
    10     static {
    11         Data d = new Data();
    12         d.setMessage("Hello World from HTML and Java!");
    13         d.applyBindings();
    14     }
    15 }