• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java problem...

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to connect my java program to other computer where the database stored.

what is the code?
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your Java program will communicate with the database using "JDBC".

As far as JDBC is concerned, it doesn't matter whether the database is remote or local - that's transparent to the program.

As far as enabling a connection between any program on your computer (Java JDBC, Microsoft Visual Basic, or anything else...) - that depends on many, many factors.

Suggestion:
Become familiar with running JDBC itself (using any database that's convenient for you), then worry about connecting to a remote database afterwards.

Here's a good set of tutorials:

http://java.sun.com/docs/books/tutorial/jdbc/

'Hope that helps .. PSM
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dexter,

please do not post the same question to multiple forums. Read this: CarefullyChooseOneForum to understand why I deleted the other copies of this question.
 
reply
    Bookmark Topic Watch Topic
  • New Topic