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 83 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

0-http://www.mysql.com/
4Download MySQL Connector/J JDBC
Driver-http://www.mysql.com/products/connector/j/
5.3 Creating a DWR Application 91
First, create a JDeveloper application and project with File>New. In the
New Gallery window select General in Categories and Application in
Items. Specify an application name, DWRApp for example, and click on
OK. Specify a project name, DWR, and click on OK. A JDeveloper
application and project get created. Next create a JSP with File>New. In
the New Gallery window select Web Tier>JSP in Categories and JSP
in Items. Click on OK. In the Create JSP window specify File Name as
userregistration.jsp and click on OK. The JSP shall be used to specify an
HTML form and JavaScript functions to send an Ajax request. Next, create
a Java class that is to be remoted with DWR generated JavaScript. Select
File>New and subsequently select General in Categories and Java Class
in Items in the New Gallery window. Click on OK. In the Create Java
Class window specify a Java class Name as UserRegistration, and
Package name as dwr and click on OK. A Java class gets added to the
JDeveloper application. Next, we need to add a DWR configuration file
dwr.xml in the WEB-INF directory. Select the WEB-INF folder in the
Application Navigator and select File>New. In the New Gallery window
select General>XML in Categories and XML Document in Items and
click on OK. In the Create XML File window specify file name as
dwr.


Pages:
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95