亚洲成人一区在线观看_天堂网www_国产精品久久9_中文在线播放_伊人天天_久久精品久久久精品美女

當前位置:首頁 > 網(wǎng)站舊欄目 > 學習園地 > 設計軟件教程 > [ajax]Google Web Toolkit 和 googlipse(GWT eclipse 插件)開發(fā)ajax

[ajax]Google Web Toolkit 和 googlipse(GWT eclipse 插件)開發(fā)ajax
2010-01-14 23:35:35  作者:  來源:

最近在玩 Google Web Toolkit 
一個可以用純java編寫ajax,然后自動翻譯成可以用在j2ee工程里的程序,太強了。
因此不用學ajax,只要會java(尤其awt基礎)和這個工具,ajax任我玩
介紹一下,好東西,感覺有望成為熱門ajax開發(fā)工具,而且目前還出了與eclipse插件:googlipse。
我剛用過,很方便


收集的資料:

1. 非常完整的gwt+netbeans的教程:http://www.javapassion.com/handsonlabs/ajaxgwtintro/

2. 有3篇IBM文章介紹Google Web Toolkit 
  面向 Java 開發(fā)人員的 Ajax: 使用 Google Web Toolkit 開發(fā) Ajax :GWT(Google Web Toolkit) 是 Google 最近推出的一個開發(fā) Ajax 應用的框架,它支持用 Java 開發(fā)和調(diào)試 Ajax 應用,本文主要介紹如何利用 GWT 進行 Ajax 的開發(fā)。
面向 Java 開發(fā)人員的 Ajax: Google Web Toolkit 入門 :Ajax 被用于創(chuàng)建更加動態(tài)和交互性更好的 Web 應用程序。Google Web Toolkit (簡稱 GWT) 是 Google 推出的 Ajax 應用開發(fā)包,GWT 支持開發(fā)者使用 Java 語言開發(fā) Ajax 應用。本文將介紹 GWT 開發(fā) Ajax 應用的基本方法和步驟。

面向 Java 開發(fā)人員的 Ajax: 探索 Google Web Toolkit:最近發(fā)布的 Google Web Toolkit (GWT) 是一組全面的 API 和工具,它支持用戶幾乎完全使用 Java 代碼來創(chuàng)建動態(tài) Web 應用程序。本文將向您展示 GWT 能做什么,并幫助您確定它是否適合您。

3.(GWT eclipse 插件1)gwtdesigner
http://www.instantiations.com/gwtdesigner/download.html

4.(GWT eclipse 插件2)googlipse

1) 下載:http://sourceforge.net/projects/googlipse

2) 安裝前提:

a)  Eclipse 3.2 with WebTools Platform 1.5(一定要裝,)
b) 運行在 Java 1.5
c) 還需要下載 Google Web Toolkit

3) googlipse從安裝插件到做出實例全過程(官方)

 (*) Drop the com.googlipse.gwt_.jar file in your eclipse\plugins folder
 (*) Open Eclipse. Select Window->Preferences->Googlipse and set GWT home to the directory where you have installed the Google Web Toolkit.
 (*) You are all set to code.
 
Adding Googlipse to your project:

 Googlipse is implemented as a WTP Facet. When creating a new Dynamic Web Project, select Googlipse in the Project Facets page. If you already have a Dynamic Web Project, you can add Googlipse facet by selecting Project->Properties->Project Facets(Please make sure you don't have gwt-user.jar in your classpath). In case you didn't like Googlipse, you can remove the facet.

Creating a Module:

 Once you have a Dynamic Web Project with Googlipse facet, you can add a new module by File->New->Other->Googlipse->Gwt Module. Modules can be created only in valid java packages (default package is not allowed). Either you can type in the package (with project & source folder) in the location field or you can select it by clicking Browse button. You can also click the Create button to create a new package. Next type in the name of the module. Click Finish, you will have all the artifacts for the module generated.
 
Adding a Remote Service;

 Note :A Remote Service will be created only in a module. So if you don't have a module, you need to create one using the New Module wizard, before this step.
 You can select File->New->Other->Googlipse->Gwt Remote Service. Click the Browse button and select the module (the gwt.xml file). Type the name and uri for the service and click Finish. Now the artifacts for the remote service will be generated. (You have to add an entry in the gwt.xml file manually. Googlipse doesn't add it. This feature will be implemented in future versions)
 
Adding a Remote Service method:

 You can open the RemoteService interface and add/change methods in it. You need to provide the implementation of those methods in RemoteServiceImpl class, but thanks to Googlipse, you don't have to do anything in RemoteServiceAsync. Googlipse will automatically update the corresponding Async file whenever a RemoteService interface is changed.
 
Calling a method using Remote Service:

 The utility class in the Remote service should help you in making the remote call.
 
 MyRemoteServiceAsync async = MyRemoteService.Util.getInstance();
 async.makeRemoteCall(param1, param2, callback);
 
Running/Debugging a Gwt Application:

 Select Run->Run/Debug to activate the Lauch configuration dialog box. Double Click "Gwt Application". In the main page, you can select the Project & Module you want to run. In the parameters page you can select the parameters such as port and log level. Click Run to execute the GwtShell & bring up your application. The laucher will add the jar files & all the source folders in the project to your application.
 
 
Questions/Bugs/Suggestions?

 Drop a mail to googlipse-users@lists.sourceforge.net


安徽新華電腦學校專業(yè)職業(yè)規(guī)劃師為你提供更多幫助【在線咨詢
主站蜘蛛池模板: 国产精品久久久久久久福利院 | 可以在线观看的av网站 | 亚洲网站在线免费观看 | 亚洲第一视频网站 | 欧美第5页 | 欧美日本一区二区三区 | 97精品国产97久久久久久免费 | 精品美女在线 | 中文在线视频 | 亚洲精品国精品久久99热 | 国产日韩免费 | 国产日韩欧美一区二区在线观看 | 欧美日韩视频 | 国产精品久久久久久久久久免费看 | 国产情侣免费视频 | 在线观看黄 | 欧美中文在线 | 成人欧美亚洲 | 黄色片网站在线看 | 欧美日本韩国一区二区三区 | 99久久综合精品五月天 | 国产精品免费在线 | 性人久久久 | 欧美在线一区二区三区 | 国产精品久久久爽爽爽麻豆色哟哟 | 欧美激情 | 欧美日韩激情一区二区三区 | 99爱国产| 91精品亚洲| 亚洲小视频网站 | 国产成人在线播放 | 中文字幕在线视频网站 | 一区二区不卡 | 精品国产乱码一区二区三区 | 日韩一区二区在线观看 | 久久se精品一区精品二区 | 日日夜夜国产 | 欧美日韩精品一区二区三区 | 精精国产| 蜜桃精品视频在线 | 99爱视频 |