-
Book Overview & Buying
-
Table Of Contents
Google Web Toolkit 2 Application Development Cookbook
By :
The building process of the GWT application includes creating the web directory structure, compiling Java files to class files, copying library files, compiling GWT client-side code, and creating the WAR files.
Before starting to deploy, we need to create the WAR file containing all the required project files. "WAR" stands for "Web Application Archive". WAR is a JAR file that contains the Java classes, Java Server Pages, Servlets, library files, static web pages, and so on, as necessary. The WAR file is used to distribute the application files in a single file. In this recipe, we are going to create the WAR file for our GWT application using the NetBeans IDE.
The steps required to complete the task are as follows:
Go to Project Properties | Libraries.
![]() |
Under the Compile tab, check all the checkboxes for the files to be packaged, as shown in the previous screenshot.
![]() |
Go to Build | Packaging, click on Add File/Folder button...
Change the font size
Change margin width
Change background colour

