Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008

    Question Unanswered: Java GUI as SQL front end

    I'm a complete Newbie with Microsoft SQL Server 2005. I've got my tables and queries running, and now I'm looking for the best appropriate tool to design my user-friendly search forms.
    As far as I know, it's possible to program SQL events using Java. Now, which Java environment is best fitted to build GUIs? I'm familiar with Netbeans, and I've already designed some stuff there, but is there something better?
    And how do I link my graphics to the database?
    This is a really elementar question, but I have absolutely no idea how to implement the whole progress...
    Any help would be greatly appreciated!

  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    it's been a while since I java'd but there was something called JDBC you might want to google. I am not sure if there is something newer now.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Sep 2005
    Quote Originally Posted by OfficeDummy
    And how do I link my graphics to the database?
    Most books devote several chapters to this topic alone. Your choices are wide open. You could use an ORM tool such as Hibernate to map your database tables to your pojo's (plain old java objects). You will still need to write code to map pojo fields to your gui, or you could use a beans-binding library. You are not going to find a drag and drop tool to do it all for you. If you are using Swing for your gui, stick with your Netbeans IDE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts