• We just launched and are currently in beta. Join us as we build and grow the community.

Database Application In Java

coded23401

LOL Virtuoso
C Rep
0
0
0
Rep
0
C Vouches
0
0
0
Vouches
0
Posts
170
Likes
98
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
Hello, everyone. I’m Joshua and I want to share my very first code here on Sourcecodester. It’s a simple database application with a User Graphical Interface [GUI] that shows how to code the main four CRUD [Create, Retrieve, Update, Delete] operations. In this code you’ll learn how to do so many things like how to add, save, update, delete, search, connect to database and write a login class plus learn how to link classes in Java and understand Java and Database programming in general. I used AWT package and MS Access as my database and SQL for the queries.
Contents:-
1. Login
2. Register/Add record to database
3. Search and display record from database
4. Update data in database
5. Delete data from database
6. Connect to MS Access database
In order to run the project, you must first configure your database to the Data Source [ODBC] Driver.
Steps:-
Start -> Control Panel -> Administrative tools -> Data Sources(ODBC) -> Click Add button then select Microsoft Access Driver(*.mdb) then -> Click Finish -> On the Dialog window, fill the Data Source Name field with the name of the database and that is studentdb. -> Click the Select button to browse the database -> After browsing, Click OK-> OK -> Done.
You may now open Eclipse installed in your PC and import the Project.
Run the Login Class [Because it’s the only class I gave the main method]. Or simply just Run the JAR File I created.
Hope this code helps someone out there learn Java.... make programming fun! Enjoy coding.
For assistance, enquiries, help, suggestions or any kind of feedback please…
Email: [email protected]
Twitter: @JoshuaReminisce
Phone: +256-757-446236
I will be glad to hear from you! Happy Coding!!

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.

2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Download
You must upgrade your account or reply in the thread to view hidden text.
 

452,292

323,341

323,350

Top