SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 67 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

add(button);
RootPanel.get(???slot2???).add(label);
}
}
66 4 Ajax with Java-GWT
A hosted mode launch script, CatalogForm-shell, and a
compilation script, CatalogForm-compile, also get created. Next, we
shall run the GWT application in hosted mode and in web mode in
JDeveloper 11g. First we shall run the GWT application in hosted mode.
We need to create an application and a web project in JDeveloper. Select
File>New and in the New Gallery window select General in Categories
and Application in Items and click on OK. In the Create Application
window specify an Application Name and click on OK. In the Create
Project window click on Cancel as we shall be adding a Web Project to
the application. An application gets added to Application Navigator.
Select File>New and in the New Gallery window select
General>Projects in Categories and Web Project in Items and click on
OK. In the Create Web Project Wizard click on Next. Specify a Project
Name, GWT, and specify Directory as C:/GWT/gwt-windows-
1.4.60, which is the GWT installation directory, and click on Next as
shown in Fig. 4.2.
Fig. 4.2 Creating a Web Project
Select J2EE 1.4 as the Web Application Version and click on Next.
Click on Next in the Page Flow Technology window. In the Tag
Libraries window click on Next. Specify Document Root as
C:/GWT/gwt-windows-1.4.60/www and click on Next as shown in
Fig. 4.3.
4.3 Creating a GWT Application 67
Fig.


Pages:
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79