Initial Research on Integrated Development of GWT and eclipse
Original article: http://blog.sina.com.cn/s/blog_415bd707010086cy.html
Download, install, and configure jdk6.0
Http://blog.csdn.net/meng090914/archive/2009/11/13/4806390.aspx
(17:33:56)
Reprinted
Tags:GWT Eclipse Ajax Program Design It |
Category: it |
Download related resources:
1 jseclipse: http://www.adobe.com/cfusion/entitlement/index.cfm? Event = custom & SKU = rc00355 & E = labs_jseclipse
2 GWT: http://google-web-toolkit.googlecode.com/files/gwt-windows-1.4.61.zip
3 GWT plug-in: http://jaist.dl.sourceforge.net/sourceforge/googlipse/com.googlipse.gwt_0.5.4.jar
4 Tomcat eclipse plugin http://www.eclipsetotale.com/tomcatPlugin.html
Http://blog.csdn.net/sanshiqiduer/archive/2007/06/21/1660950.aspx2 GWT in eclipse, Tomcat single-step debugging customer and service complete instance http://www.blogjava.net/peacess/archive/2006/06/30/55795.html3 GWT project development experience set http://www.blogjava.net/peacess/archive/2007/08/06/84950.html using steps: 1. Install the required software. 2. Configure the environment: Configure GWT, tomcat, and tomcat plug-in. 3. Create a GWT project. 3.1. Create a project directory. D: /dev/testgwt3.2 enter the Directory and run the command line tool; 3.3 create the testgwt project, enter projectcreator-Eclipse testgwt3.4 in the command line to create the GWT application, and enter: applicationcreator-Eclipse COM. uhomers. client. login3.5 run the StartAction-shell.cmd file to see the effect of the login program running; 3.6 start eclipse, import the testgwt project into it; 3.7 create a debug as: Application Type in testgwt, configure the following 1 Main
1.1 name: Debug name;
1.2 project: current project;
1.3 mainclass: COM. Google. GWT. Dev. gwtshell;
2 arguments
Out www com. Yoka. login/login.html [-noserver-port 8080] // optional, you can modify the port
3 classpath
User entries: to add "src" and "gwt-dev-windows.jar" to publish a project, you need to run the StartAction-compile.cmd and generate all the HTML files and JS files needed under the WWW directory, copy these files to the root directory of the published program. Then configure the Web. xml file in the WEB-INF directory based on the project's needs. The Java version supported by GWT is only 1.4 ~ 1.3. Therefore, many higher Java and newer features cannot be used. This is a pity and it is quite uncomfortable to use. However, there are not many restrictions on the processing of the display layer. We can pay attention to these issues and perform more tests. The code on the server side is unaffected. If GWT is a Web application, you still need to take a good look at the interface beautification. If GWT can easily support web interface effects, such a framework is also quite good, although it adds a little more complexity, it is much more elegant than self-written JavaScript. Test the truth in practice, exercise more, and learn more !!!