This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes DB2 JDBC Connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 JDBC Connectivity" Watch "DB2 JDBC Connectivity" New topic
Author

DB2 JDBC Connectivity

Pradeep Katipamula
Ranch Hand

Joined: May 11, 2010
Posts: 37
Hi,


I have never used DB2 before. I came to know from some of the other websites that I need 2 jars db2jcc.jar and another license jar.
I dint get any further info on licensing.

I want to connect from my java application to a database which is maintained by another team. Now do I need to get licenses for the individual machine that tries to connect to this database (be it a test or a prod machine)??

How do i obtain the licensing jar?

Thanks for the help.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Pradeep Katipamula wrote:I want to connect from my java application to a database which is maintained by another team. Now do I need to get licenses for the individual machine that tries to connect to this database (be it a test or a prod machine)??


You have to have a copy of the licensing jar, that's all. You don't have to individualize it in any way, or register, or anything else. You just need a copy of the jar in your classpath.

How do i obtain the licensing jar?


It's available from the database server machine, where it is put when the server is installed. I forget exactly where, it's been several years since I did this. If your DB2 server administrators don't know and can't figure it out, if all else fails they could search the whole machine for files with .jar extensions.
Pradeep Katipamula
Ranch Hand

Joined: May 11, 2010
Posts: 37
So I have to copy the jars from the server installation; That looks simple.
My question is do I need to pay separately for the license for individual client machines.

Thanks Paul for the quick reply.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Your server administrators will already have paid for their server licence. You should consider asking them these questions.
Pradeep Katipamula
Ranch Hand

Joined: May 11, 2010
Posts: 37
Ok...thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 JDBC Connectivity
 
Similar Threads
Connect to DB2 from VAJ Test environment !
Type 4 driver for db2
EJB and VisualAge
DB2 needed on Application Server?????
WebSphere V6.1 Db2 V8.1 Connection Problem