Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: regarding connectivity

  1. #1
    Member
    Join Date
    Jan 2012
    Posts
    57
    My Mood
    Fine
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default regarding connectivity

    hii friends ...

    i am using netbeans IDE 7.1 and i want to know that how i can provide database connectivity (which is already availaible in netbeans IDE 7.1 ie java DB) to GUI application designed using jframe and awt components....
    kindly specify someuseful solution .. as i am not getting the solution from netbeans DOC and on google...


    Thanks.....


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

  3. #3
    Member
    Join Date
    Jan 2012
    Posts
    57
    My Mood
    Fine
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: regarding connectivity

    its all about the database and creating tables and connecting the database through netbeans.. but my query was that netbean itself has a database that can be used to create database and tables .. but the thing is that how can i use this database through my GUI .. ....suppose i want to take user input and add that into database on button action ..

  4. #4
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: regarding connectivity

    Quote Originally Posted by deependeroracle View Post
    its all about the database and creating tables and connecting the database through netbeans..
    What exactly is your question? Have you worked through the first 4 links from this search?

    Let me google that for you

  5. The Following User Says Thank You to Sean4u For This Useful Post:

    deependeroracle (March 8th, 2012)

  6. #5
    Member
    Join Date
    Jan 2012
    Posts
    57
    My Mood
    Fine
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: regarding connectivity

    ok let me explain to you ... i am using netbeans 7.1 and i have created a frame having components like label and textfields .. now from these textfields the input given by the user should be saved at the database .. for the database i was using mysql .. but recently i came to know that the same database can be create in the netbeans also but i dnt know how to connect that database( if i used netbeans inbuilt database under the services tab java db ).. and i have successfully connected the mysql with my netbeans .. but having problem if i use the inbuilt functionality of creating database in the netbeans itself..

  7. #6
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

    Default Re: regarding connectivity

    If memory serves me correctly there is some stuff in Oracle's Tutorial concerning getting started with databases and Netbeans, but mostly it is agnostic (doesn't care) what environment you are using.

    But the NB website has excellent tutorials and that would be a good place to look - if they are not actually linked to from what Sean has provided.

  8. #7
    Member
    Join Date
    Jan 2012
    Posts
    57
    My Mood
    Fine
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: regarding connectivity

    hello pbrockway2

    buddy you are very true .. its all about the netbeans and database connectivity .. but in the tutorial the connectivity was in between netbean and database(that may be oracle or mysql) but my query was that netbeans ide 7 itself has a facility to create database ,so it make easier for the developer to make the complete application in netbeans itself..
    and i was able to create the database in netbeans with the help of tutorials availaible on netbeans website .. but i dnt find anywhere to connect my GUI to that database in the netbeans itself...

    summary( i want to make the whole database driven application for the students record maintenance in the netbeans only which have ofcourse a GUI to take inputs from the users and a backend database to store the data.. but the whole thing should be developed in the netbeans only .. i mean to say the creation of database and the GUI for taking inputs , both in netbeans )

    Thanks

  9. #8
    Member
    Join Date
    Jan 2012
    Posts
    57
    My Mood
    Fine
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: regarding connectivity

    thnx to supermoderator .. finally i got my solution ..

Similar Threads

  1. java & mysql connectivity..
    By itssnigdha in forum JDBC & Databases
    Replies: 2
    Last Post: February 4th, 2012, 08:51 AM
  2. JDBC connectivity with MySQL
    By naqib in forum JDBC & Databases
    Replies: 1
    Last Post: January 14th, 2012, 10:14 AM
  3. How to run Applet with Ms Sql connectivity in browser
    By mayanksmart4 in forum Java Applets
    Replies: 1
    Last Post: November 22nd, 2011, 09:57 AM
  4. webservice connectivity?????
    By rachana in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: February 3rd, 2011, 08:52 AM
  5. Help regarding JDBC connectivity in JSP
    By Lovable_Kumar in forum JDBC & Databases
    Replies: 0
    Last Post: May 30th, 2010, 11:53 AM