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

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

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

    小方的Java博客

      BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      27 隨筆 :: 17 文章 :: 115 評(píng)論 :: 0 Trackbacks

    GWT QQ 交流群:28310588

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


    收集的資料:

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

    面向 Java 開發(fā)人員的 Ajax: 探索 Google Web Toolkit:最近發(fā)布的 Google Web Toolkit (GWT) 是一組全面的 API 和工具,它支持用戶幾乎完全使用 Java 代碼來(lái)創(chuàng)建動(dòng)態(tài) Web 應(yīng)用程序。本文將向您展示 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) 運(yùn)行在 Java 1.5
    c) 還需要下載 Google Web Toolkit

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

    ?(*) 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-09 23:47 方佳瑋 閱讀(4983) 評(píng)論(3)  編輯  收藏 所屬分類: AJAX

    評(píng)論

    # re: [ajax]Google Web Toolkit 和 googlipse(GWT eclipse 插件)開發(fā)ajax 2006-09-28 18:04 austinliu
    請(qǐng)問(wèn), 在Eclipse中建立了googlipse的動(dòng)態(tài)WEB項(xiàng)目后, 怎么在tomcat服務(wù)器上運(yùn)行呢?  回復(fù)  更多評(píng)論
      

    # re: [ajax]Google Web Toolkit 和 googlipse(GWT eclipse 插件)開發(fā)ajax 2006-09-29 10:23 小方
    1.把所有用到的jar包放入工程

    2.更改 ENTRY_POINT="/tomcat工程名/...";

    3.映射web.xml里的servlet ,就是映射2中的地址  回復(fù)  更多評(píng)論
      

    # re: [ajax]Google Web Toolkit 和 googlipse(GWT eclipse 插件)開發(fā)ajax 2006-10-16 20:18 飛來(lái)的
    hi, 我建立了一個(gè)討論GWT的論壇,大家去那里交流一下啊
    www.gwtcn.org  回復(fù)  更多評(píng)論
      

    主站蜘蛛池模板: 亚洲欧洲国产成人综合在线观看| 99免费在线观看视频| 亚洲精品狼友在线播放| 99精品免费观看| 亚洲国产成人久久精品99| 久久99精品免费一区二区| 亚洲精品第一国产综合精品| 色播在线永久免费视频| 国产一级黄片儿免费看| 亚洲熟妇无码AV| 成人免费视频试看120秒| 2020年亚洲天天爽天天噜| 亚洲毛片在线免费观看| 爱爱帝国亚洲一区二区三区| 婷婷精品国产亚洲AV麻豆不片 | 小草在线看片免费人成视久网| 亚洲人成色777777在线观看| 男女做羞羞的事视频免费观看无遮挡| 亚洲喷奶水中文字幕电影| 国产精品亚洲美女久久久| 91手机看片国产永久免费| 亚洲一卡2卡4卡5卡6卡残暴在线| 亚洲免费网站观看视频| 久久不见久久见免费影院www日本| 亚洲精品乱码久久久久久久久久久久| a毛片免费观看完整| 亚洲youwu永久无码精品| 亚洲成年轻人电影网站www| 亚洲国产天堂久久综合| 两个人看的www高清免费视频| 久久精品国产99精品国产亚洲性色| 精品四虎免费观看国产高清午夜| 亚洲视频免费观看| 国产亚洲精品AA片在线观看不加载| 国产无遮挡裸体免费视频在线观看| 久久精品亚洲一区二区三区浴池| 台湾一级毛片永久免费| 国产大陆亚洲精品国产| 亚洲一卡2卡4卡5卡6卡在线99| 国产精品美女自在线观看免费 | 亚洲一本综合久久|