Playback starts YouTube’s embedded player (privacy-enhanced mode).
111 Java web application using JDBC Connection pool for Oracle, in Glassfish server Servlet Tutorial
Channeltech fortDescription from the creator
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
-------
|-----index.html
|-----WEB-INF
|--------web.xml
|--------classes
|--------ConnPoolServlet.java
|--------ConnPoolServlet.class
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
C:\Users\om\Desktop\35GFPoolApp jar cf 35GFPoolApp.war .
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
localhost:6060/35GFPoolApp/ (i have changed HTTP port number 8080 to 6060 in tutorial number 105)
localhost:8080/35GFPoolApp/ (By defult port number is 8080)
Step 1) make sure that mydomain2 server of Glassfish is there in running mode.
Step 2) Keep web appl ready
Deployment Directory Structure:
35GFPoolApp
-------
|-----index.html
|-----WEB-INF
|--------web.xml
|--------classes
|--------ConnPoolServlet.java
|--------ConnPoolServlet.class
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
C:\Users\om\Desktop\35GFPoolApp jar cf 35GFPoolApp.war .
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
localhost:6060/35GFPoolApp/ (i have changed HTTP port number 8080 to 6060 in tutorial number 105)
localhost:8080/35GFPoolApp/ (By defult port number is 8080)
About this tutorial
tech fort published this 31:54 video tutorial on November 12, 2019. It has been watched 781 times on YouTube.
- Channel
- tech fort
- Category
- Science & Technology
- Duration
- 31:54
- Published
- November 12, 2019
- Views
- 781
- Likes
- 32
Tags
Share
This tutorial in other languages
- FR111 application Java Web en utilisant JDBC pool de connexions pour Oracle, dans le serveur Glassfish Servlet Tutorial
- ES111 de aplicaciones web Java utilizando JDBC de agrupación de conexiones para Oracle, en el servidor Glassfish Servlet Tutorial
- PT111 aplicação web Java usando JDBC piscina Connection para Oracle, em servidores Glassfish Servlet Tutorial
- IT111 applicazioni Web Java utilizzando pool di connessione JDBC per Oracle, server Glassfish Servlet Tutorial
- DE111 Java Web-Anwendung mit JDBC-Verbindungspool für Oracle, in Glassfish Server Servlets Tutorial
- NL111 Java web applicatie met behulp van JDBC-verbinding zwembad voor Oracle, in Glassfish server Servlet Tutorial
- RU111 веб-приложений Java с использованием JDBC пул соединений для Oracle, в Glassfish сервера Servlet Tutorial
- PL111 aplikacji internetowych Java przy użyciu puli połączeń JDBC dla Oracle, serwer GlassFish Servlet Tutorial
- JAGlassfishのサーバーサーブレットのチュートリアルでは、Oracle用のJDBC接続プールを使用して111 Java Webアプリケーション、
- AR111 جافا تطبيق ويب باستخدام JDBC تجمع اتصال لأوراكل، في خادم Glassfish بريمج دروس
- HI111 जावा वेब अनुप्रयोग ओरेकल के लिए JDBC कनेक्शन पूल का उपयोग कर, Glassfish सर्वर सर्वलेट ट्यूटोरियल में
- ID111 aplikasi web Java menggunakan JDBC Connection kolam renang untuk Oracle, server GlassFish Servlet Tutorial