Home > SQL Server Tips > Database Management and Administration > jTDS: Open-source JDBC 3.0 middleware driver for SQL Server
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE MANAGEMENT AND ADMINISTRATION

jTDS: Open-source JDBC 3.0 middleware driver for SQL Server


Serdar Yegulalp, Contributor
04.07.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Data source drivers, such as Microsoft's Open Database Connectivity (ODBC) drivers, sit between one's programming language and a data source and provide a common way to connect to a data source and query it. Most programmers who use SQL Server to drive Web applications are familiar with the ODBC layer through VBScript or Java; Java uses its own middleware layer, called Java Database Connectivity (JDBC). However, Microsoft's JDBC for SQL Server hasn't been updated in a long time and isn't very well supported. Sun has JDBC middleware, too, but it isn't particularly functional either.

Thankfully, several open-source programmers have stepped in and written their own Java driver for SQL Server: jTDS. jTDS is free, released under the provisions of the GNU Lesser General Public License (LGPL), so it can be tweaked and modified as freely as you wish. Its performance is comparable to (and in some cases better than) many commercially produced middleware libraries for Java.

Installing jTDS is simple enough: Simply place the .JAR file for the driver into the Java application's classpath. jTDS provides full support for all JDBC 3.0 features, including save points and unlimited connections. It does not yet support connection pooling or row sets (partly because there are implementations for these already available elsewhere; see the documentation). It does, however, have experimental support for XA distributed transactions.

Most importantly, jTDS supports many SQL Server specific features like named-pipes connections, which are very important when you're not working across a network, ASCII/Unicode, SSL encryption, Windows authentication, SQL Server named instances and quite a few others. This makes it especially appealing to SQL Server developers who are using Java as their programmatic front-end, who want to customize heavily and who are running into the performance and developmental limitations of the existing JDBCs.

Editor's Note: If you would like to receive similar tips on SQL Server administration and development, be sure to subscribe to the SQL Server Adviser newsletter. Sign up now!


Serdar Yegulalp is editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!


Rate this Tip
To rate tips, you must be a member of SearchSQLServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Microsoft SQL Server Tools and Utilities
Microsoft SQL Server Tools Guide
How SQL Server 2008 components impact SharePoint implementations
SQL Server Mailbag: Data restoration and DB property management
SQL language crash course (just enough to be dangerous)
Setting up SQL Server Service Broker for secure communication
Microsoft SQL Server 2008 Resource Governor primer
The sqlcmd utility in SQL Server
Performance analysis tools for SQL Server
Software security tools to improve your skills in a single day
Surface Area Configuration and other security tools in SQL Server 2005

Database Management and Administration
Password cracking tools for SQL Server
Using traces in SQL Server Profiler
Meet compliance requirements with improved database security practices
Hardening the network and OS for SQL Server security
Securing the server and database in SQL Server
How SQL Server 2008 components impact SharePoint implementations
Troubleshooting Distributed Transaction Coordinator errors in SQL Server
Achieving high availability and disaster recovery with SharePoint databases
Clearing the Windows page file and its effect on server performance
Deploying a SQL Server virtual appliance for Microsoft Hyper-V

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
ACID  (SearchSQLServer.com)
data aggregation  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



SQL Server Development - .NET, C#, T-SQL, Visual Basic
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts