Question:
java database tutorial?
heyya
2012-02-14 04:55:13 UTC
guys i am looking for a simple tutorial that teaches me how to create an application that can retrieve information from a back end database and display it through a gui created using java..i am using netbeans for programming.i just finished learning java(the non gui part) now i want to learn gui programming.is netbeans good for beginners?
Five answers:
steve
2012-02-14 05:45:50 UTC
I would learn it without an IDE. You'll have a better grasp of whats going on, and whatnot.



Head First Java is a good starter book, it goes through databases too. You can google it and download it for free. good luck.
anonymous
2012-02-15 13:31:59 UTC
The JDBC™ API was designed to keep simple things simple. This means that the JDBC makes everyday database tasks easy. This trail walks you through examples of using JDBC to execute common SQL statements, and perform other objectives common to database applications.



This trail is divided into these lessons:



JDBC Introduction Lists JDBC features, describes JDBC Architecture and reviews SQL commands and Relational Database concepts.



JDBC Basics covers the JDBC API, which is included in the Java™ SE 6 release.



By the end of the first lesson, you will know how to use the basic JDBC API to create tables, insert values into them, query the tables, retrieve the results of the queries, and update the tables. In this process, you will learn how to use simple statements and prepared statements, and you will see an example of a stored procedure. You will also learn how to perform transactions and how to catch exceptions and warnings.



« Previous • TOC • Next »
deonejuan
2012-02-14 14:25:58 UTC
Netbeans has a tutorial about using the database that comes with JavaSE -- Derby. Java6 also includes JPA -- Java Persistence API, which is amazing. JPA will write the SQL for you based upon the jdbc: connector.



good luck.
Nipun David
2012-02-14 21:14:05 UTC
yeah u should not use any ide at a beginner level try running ur programs using command promt or terminal on linux

if u will use ide u will not get the slightest idea what is exactly happeng in ur gui for example which object is firing query, who is handling who's events, which listener u should implement etc.....



after makin 3-4 gui's u can switch to IDE and then u will be professionally confident.....
AnalProgrammer
2012-02-14 13:59:48 UTC
Try this tutorial.



Have fun.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...