Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stand Alone application using JavaFX

 
Sidhu roy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have a desktop application which is developed using swings and uses jdbc. My question is using javafx can i connect to database using jdbc, previously i got the answers that "administrator would not allow connecting to database using javafx since it insecure". How to implement "javafx-jdbc"?
 
John Damien Smith
Ranch Hand
Posts: 320
19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Connecting to a database using Java has nothing to do with JavaFX.
Whether you used Swing or JavaFX as your UI technology, the method of connection would be the same.
You can find information on how to connect to a database from Java here: http://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!