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

Deepak Vohra

"Ajax in Oracle JDeveloper"

Copy the mysql-ds.xml file
from the C:\JBoss\jboss-4.2.2.GA\docs\examples\jca directory to the
C:\JBoss\jboss-4.2.2.GA\server\default\deploy directory. In the mysqlds.
xml file the MySQL datasource is specified as MySqlDS. Specify the
connection URL and driver class as follows.

jdbc:mysql://localhost:3306/test
com.mysql.jdbc.Driver
A password is not required for the root user. Specify user-name and
password as follows.
root

Download the MySQL JDBC driver4 JAR file mysql-connector-java-
5.1.5-bin.jar and copy the JAR file to the C:\JBoss\jboss-
4.2.2.GA\server\default\lib directory. We shall be developing a DWR web
application in JDeveloper 11g IDE. Download JDeveloper 11g zip.
Extract the zip file to a directory and JDeveloper gets installed.
5.3 Creating a DWR Application
We shall be developing an Ajax registration form validation application to
validate a userid. The form validation application is used to create user
registration with a unique userid. If the User Id specified is not in the
database table UserTable a message ???User Id is valid??? gets displayed
and a new user registration entry may be created. If the User Id is already
in the database a validation message, ???User Id is not Valid??? gets displayed.
2 Download JBoss 4.x-http://www.jboss.org/products/jbossas
3 Download MySQL 5.


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