111 Java web application using JDBC Connection pool for Oracle, in Glassfish server Servlet Tutorial

preview_player
Показать описание
Procedure to make #java #web #application #using #JDBC #Connection #pool(pool1) for #Oracle #database, created in #Glassfish #mydomain2 #server: Advance Java #Servlet #Tutorial
Step 1) make sure that mydomain2 server of Glassfish is there in running mode.

Step 2) Keep web appl ready

Deployment Directory Structure:
35GFPoolApp
-------
|-----WEB-INF
|--------classes

for above web appplication Source code Refer 109 Servlet to Database communication using Approach 3 Connection Pool with Oracle, Weblogic

Step 3) Change JNDI name from "techfort" to "GFOraCP"

Step 4) Compile Servlet program & need to prepare .war file representing the whole web application

compile

Create war file

Step 5) Deploy above created web application in mydomain2 server of GlassFish

hard deployment: (copy and paste war file to mydomain2\autodeploy directory)
C:\glassfish3\glassfish\domains\mydomain2\autodeploy

Step 6) Test the web application

Рекомендации по теме