• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

How to link Java with database?  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am a truly beginner in this entire database thing. Right now i need to create a system similar to booking system.
I have created the system interface by using java in Eclipse for the user to add data from a form and into the Jtable created.
So now i wanted to link the data inserted from the user into the database and also into the Jtable created.
Is it possible ? and how do i start ?
 
Bartender
Posts: 1983
59
Eclipse IDE Google Web Toolkit Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are two things you need to learn to do this:
1. UI coding: lets say you load data from database, how are you going to show it in the JTable ?
2. JDBC: How to Connect and load data from database

Here are a few useful links for both:
https://docs.oracle.com/javase/tutorial/jdbc/overview/index.html
https://docs.oracle.com/javase/tutorial/uiswing/components/table.html
 
salvin francis
Bartender
Posts: 1983
59
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh and Welcome to Code ranch !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!