Home > JAVA > Zkoss using Maven Hello World Example

Zkoss using Maven Hello World Example

This article will explain how to create a project using maven and eclipse Zkoss.

Technologies used in this article :

  1. Zkoss 7.0.0
  2. Eclipse Kepler
  3. Maven 3.1.1
  4. Apache Tomcat 7.0.42
  5. JDK 1.7.0_45

Create maven project

01

Choose webapp archtype

02

Add maven dependency

<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkbind</artifactId>
<version>7.0.0</version>
</dependency>

Make sure dependency hierarchy

03

Add simple page, say “Hello bluething”

<?page title="Hello bluething" contentType="text/html;charset=UTF-8"?>

<zk>

<window title="Hello bluething" border="normal">

Hello bluething

</window>

</zk>

Run

04

Categories: JAVA
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: