WSAD 5.1 Server Configuration
WSAD 5.1 Server Configuration
And enter any alias name and the your database user name and password
Click on OK and save
Step-3-Now click on the variables tab ,7th position from the bottom left .
Scroll the defined variable and select the appropriate driver for oracle
select the ORACLE_JDBC_DRIVER_PATH now click on the Edit button and enter the path.
Path is the address of classes12.jar in the oracle database or oracle client installation folder.
Step-4-click on the Data Source tab ,5th position from the bottom left .
Click on add button
Type any name and click on the Add External JARs.and select the classes12.jar path from the
oracle database or oracle client folder.
Click on finish
Now select the newly created JDBC provider and click on add button to create data source.
Give any name ,give any JNDI name which is used in the connection look up in DataSource
contex while writing code of connection or override the getConnection ().
1.scroll to port Number and writhe 1521(this is by default port number,you can change if your
oracle work on different port)
As
jdbc:oracle:thin:@localhost:1521:IWIS or jdbc:oracle:thin:@rahul:1521:IWIS