<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    KevinGong

      BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
      15 Posts :: 1 Stories :: 9 Comments :: 0 Trackbacks

    2篇文章介紹Google Web Toolkit?

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

    goolipse安裝和使用:
    googlipse插件:http://sourceforge.net/projects/googlipse

    Requirements:

    ?Googlipse requires Eclipse 3.2 (必須3.2)with WebTools Platform 1.5(一定要裝,)running on a Java 1.5 VM. You need to separately install Google Web Toolkit from :http://code.google.com/webtoolkit/download.html

    Installation:

    ?(*) Drop the com.googlipse.gwt_<version>.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

    posted on 2006-07-20 08:35 KevinGong 閱讀(284) 評論(0)  編輯  收藏 所屬分類: Ajax

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲成a人片在线观看久| 性做久久久久久久免费看| 国产免费黄色大片| 成人免费毛片观看| 亚洲成a人片在线观看老师| 在线观看亚洲视频| 日本一道综合久久aⅴ免费| 亚洲精品成人无限看| 亚洲乱码一二三四区国产| 黄色网址免费观看| 久久久久亚洲国产| 两个人的视频www免费| 亚洲日韩涩涩成人午夜私人影院| 亚洲AV天天做在线观看| 丁香婷婷亚洲六月综合色| 国产va免费观看| 久久99国产亚洲高清观看首页| 中文字幕版免费电影网站| 亚洲AV永久无码区成人网站| 国产一级淫片a免费播放口| 国产成人高清精品免费鸭子| 亚洲久本草在线中文字幕| 国产亚洲日韩在线a不卡| 亚洲男人第一无码aⅴ网站| 日本免费A级毛一片| 亚洲日韩中文字幕天堂不卡| 国产在线观看免费av站| 亚洲男人都懂得羞羞网站| 国产区卡一卡二卡三乱码免费| 亚洲风情亚Aⅴ在线发布| 亚洲?v无码国产在丝袜线观看 | 免费国产叼嘿视频大全网站| 伊人久久综在合线亚洲2019| 毛片基地免费视频a| 猫咪www免费人成网站| 成人无码区免费视频观看| 粉色视频成年免费人15次| 亚洲熟妇丰满多毛XXXX| 99久久99这里只有免费费精品| 羞羞网站免费观看| 亚洲天堂中文资源|