If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > need help to connect db2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-10, 17:02
blaaze blaaze is offline
Registered User
 
Join Date: Jan 2010
Posts: 3
need help to connect db2

hi
i am very new to IBM tools
after wasting many hours , i got to know how to create a server using eclipse and websphere application server community edition

but now my problem is how to use and query the db2 using jsp files of eclipse
i am using db2 9.7 express-c

please help me this is very important to me
Reply With Quote
  #2 (permalink)  
Old 01-08-10, 18:08
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
  #3 (permalink)  
Old 01-08-10, 18:22
blaaze blaaze is offline
Registered User
 
Join Date: Jan 2010
Posts: 3
sorry sir
i needed sample code to implement the connectivity between jsp on eclipse with db2 9.7c

****ANOTHER QUESTION****
1.do we need to install any drivers to access the databases on db2 using eclipse?
2.how can we browse the databases of db2 in eclipse IDE?
Reply With Quote
  #4 (permalink)  
Old 01-08-10, 18:55
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,407
Quote:
Originally Posted by blaaze View Post
sorry sir
i needed sample code to implement the connectivity between jsp on eclipse with db2 9.7c
That is usually done by the connection pool provided with your application server. Check the manual of the app server

Quote:
1.do we need to install any drivers to access the databases on db2 using eclipse?
Of course you'll need the JDBC driver
Reply With Quote
  #5 (permalink)  
Old 01-08-10, 19:06
blaaze blaaze is offline
Registered User
 
Join Date: Jan 2010
Posts: 3
Quote:
Originally Posted by shammat View Post
That is usually done by the connection pool provided with your application server. Check the manual of the app server

Of course you'll need the JDBC driver
my question is from i need to download the jdbc driver
and am very new in this, i dont know anything about these ibm tools, please give me some links which have step by step information to learn things faster, i just need to know how we create db and create connection to db from jsp, query db within jsp and all other basic functions
Reply With Quote
  #6 (permalink)  
Old 01-09-10, 04:06
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
how about reading some docs :
CREATE DATABASE
at the same location check for jsp and other needed info
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Tags
db2 connect

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On