Read installation first.
public class HelloWorldPanel extends Panel {
public HelloWorldPanel() {
add(new Label("Hello world !!!");
}
}Extend class Panel and add a text label to display "Hello world !!!"
public class HelloWorldApplicationManager extends ApplicationManager {
public HelloWorldApplicationManager() {
super(new HelloWorldPanel());
}Extend ApplicationManager abstract class and call parent constructor to define HelloWorldPanel has first panel (i.e. home page).
Open web.xml and modify lines has follow :
<init-param>
<param-name>applicationManager</param-name>
<param-value>HelloWorldApplicationManager</param-value>
</init-param>That's all