GlassFish V3 - Using JDBC Connection Pool / JDBC Resource / MySQL


This blog talks about creating a JDBC Connection Pool and an associated JDBC resource with MySQL as the Database vendor.


The
default database "sakila" of MySQL is used in this example. All these
could be done so easily with Netbeans 6.1 after installing the
GlassFish V3 plugin. 


This screencast explains how to create a JDBC Connection pool in the
administration console and its associated JDBC resource. It also shows
a HelloWorld web application that used this resource to get some values
from a table in sakila database.

Watch the screencast :


GlassFish V3 TP2 JDBC


Download GlassFish V3 TP2 from https://glassfish.dev.java.net/downloads/v3-techPreview-2.html

Comments:

Hi Shalini. It seems a very interesting blog but some sections are hard to follow without some audio commentary. For example, those SEVERE error messages in the log, should the reader care?

Do you have access to a copy of Camtasia or some tool that supports audio? It would make a difference.

- eduard/o

Posted by Eduardo Pelegri-Llopart on May 18, 2008 at 02:29 AM IST #

Hi,
Do you need both server+port number \*and\* the JDBC url?
I suppose you wouldn't need to restart the server is the JDBC driver was already installed (say, using the GF/MySQL bundle), correct?
thanks!

Posted by Alexis MP on May 18, 2008 at 12:39 PM IST #

where is the screen shot for connection pooling settings?

Posted by sayantan on May 29, 2009 at 09:00 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

shalini_m

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today