Reprinted from http://z18022893621.iteye.com/blog/1961412
First, build Web Project, import SSH2 framework
Second, under the Webroot to the folder script, which put the following file:
1.themes (You can change the theme for the UI)
2.jquery-1.8.0.min.js (may be an error, not tube)
3.jquery.easyui.min.js
4.easyui-lang-zh_cn.js (internationalized file)
5.book.js (script)
Three, entity and entity mapping files
Book:java code package org.ajax.entity; import java.sql.timestamp; /** * Book entity. @author MyEclipse persistence tools */ public class book implements java.io.Serializable { // fields private Integer id; private String isbn; private String title; private Double price; private Timestamp pubdate; private String intro; // constructors /** default constructor */ public book () { } /** minimal constructor */ Public book (double price, timestamp pubdate) { this.price = price; this.pubdate = pubdate; } /** full constructor */ public book (string isbn, string title, double price, timestamp Pubdate, string intro) {         THIS.ISBN = isbn; this.title = title; this.price = price; this.pubdate = pubdate; this.intro = intro; } // Property accessors public integer getid () { return this.id; } public void setid (integer id) { this.id = id; }     PUBLIC STRING GETISBN () { return this.isbn; }     PUBLIC VOID SETISBN (STRING ISBN) { this.isbn = isbn; } public string gettitle () { return this.title; } public void settitle (String title) { this.title = title; } public Double GetPrice () { return this.price; } public void Setprice (double price) { this.price = price; } public Timestamp getpubdate () { return