ko/archetype/src/main/resources/archetype-resources/src/main/java/Main.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 09 Sep 2013 17:34:30 +0200
changeset 1273 37ad459579bc
permissions -rw-r--r--
Rewritting the archetype to be simpler and more easily modifiable to one's needs
     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 }