This discussion is archived
2 Replies Latest reply: Jan 21, 2013 3:42 PM by selezeus RSS

javafx database examples

selezeus Newbie
Currently Being Moderated
Hello everybody.

I´m new in JavaFx and also new in Java. Now I´m studing both, Java & JavaFx.

I'm following the examples that come with JavaFx documentation the last was IssueTracking example. But I dont find anyone that show me what I want really to see.

For example, a normal Form conected to a Database, how to call a procedure or a function stored in OracleDB, a Master-Detail form, also how it work saving float and double numbers, how to manage date items and how to use a LOV .

Can somebody send me some links where I can see those examples ?

Thanks in advanced & regards everybody.
  • 1. Re: javafx database examples
    jsmith Guru
    Currently Being Moderated
    Go to the JavaFX samples page, and use the download link to download the sample source.

    http://www.oracle.com/technetwork/java/javafx/samples/index.html

    One of the downloaded samples will be the Henley Sales data application.
    It demonstrates how to connect a JavaFX client to a database connected application server via a rest client.

    If you want to directly connect your JavaFX application to a database, take a look at Narayan's sample:
    http://blog.ngopal.com.np/2011/06/19/piechart-data-from-database-in-javafx-2-0/

    Your other questions about things like LOBs (I guess that's what you meant) are best asked on a Java Database forum, such as something dealing with JDBC or JPA rather than the JavaFX forum as they are not JavaFX specific.

    Also note that there is no high level JavaFX framework support for something like a Master-Detail form - so you will have to write a chunk of code yourself to provide such functionality - be aware that this is a non-trivial thing to achieve for somebody new in both JavaFX and Java.
  • 2. Re: javafx database examples
    selezeus Newbie
    Currently Being Moderated
    Thanks, Im downloading the examples-

    I will let the question open maybe somebody send me more links to can test.

    Thanks again & regards.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points