首先準備好easyjweb 1.0-m3版本
我是從
http://www.easyjf.com/里面的
http://www.easyjf.com/html/20071219/2228229.html文里
下載的
ftp://ftp1.easyjf.com/easyjweb/easyjweb-1.0-m3/easyjweb-1.0-m3.zip所有依賴文件也在里面
下面開始了
1、使用easyjweb project ejs ../../ejs -ejs 創建出一個ejs的項目骨架
2、新建com.easyjf.demo.domain.Person 實體
3、切換到ejs的bin目錄
4、執行easyjweb crud com.easyjf.demo.domain.Person
5、修改數據庫配置文件
6、easyjweb war
7、復制ejs.war到tomcat的webapps目錄下
8、在瀏覽器輸入
http://localhost:8080/ejs/person.ejf