Java
  Home arrow Java arrow Developing SQL Server based Java Apps usin...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Developing SQL Server based Java Apps using NetBeans IDE
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2006-05-24

    Table of Contents:
  • Developing SQL Server based Java Apps using NetBeans IDE
  • What do we need to connect to Microsoft SQL Server from Java (or JDBC)?
  • How to configure CLASSPATH to connect to Microsoft SQL Server database
  • How to establish a Microsoft SQL Server database connection using JDBC
  • Creating a Microsoft SQL Server database connection using NetBeans IDE: Form Design
  • Creating a Microsoft SQL Server database connection using NetBeans IDE: the nucleus

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Developing SQL Server based Java Apps using NetBeans IDE


    (Page 1 of 6 )

    This article introduces you to developing Java (or JFC) based applications with Microsoft SQL Server as the database, using NetBeans IDE. In this first article in a series, I will show you how to establish a connection from your Java programs to a Microsoft SQL Server database using JDBC.
    A downloadable file for this article is available here.

    I already introduced about NetBeans IDE in my previous article “Developing Java Applications using Netbeans.”  Even though that particular article is fairly introductory, the next two articles concentrated on the basics of JFC.  You can find them here and here.

    If you are new to NetBeans IDE, I strongly suggest you go through the existing articles first, before proceeding with this one.

    The entire code for this article is freely available in the form of a zip file.  That downloadable solution was developed using NetBeans 4.1 IDE and tested with Microsoft SQL Server 2000 database Enterprise Edition (with Service Pack 3).  I didn’t really test it in any other version.  If you are unable to connect to the respective database, please post in the discussion section, so that I may guide you.

    Another issue is that this entire article focuses on the Microsoft platform only. The steps I discuss in this article would never help you for any other operating system (except the programming code). I used Microsoft Windows 2003 Standard Edition to work this sample. I request you to follow the steps according to the operating system installed on your computer. Most of them will be very similar to follow and very easy to understand.

    More Java Articles
    More By Jagadish Chaterjee


       · Hello guys. This contribution helps you to work with SQL Server using Java...
       · Sir, your article was really helpfull. But Sir,could you please tell me how to do...
     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT