Coder Social home page Coder Social logo

no3x / javafx-boilerplate-hibernate-lifecycles-1nn1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 71 KB

A boilerplate project for JavaFX development with JPA and hibernate showing a 1nn1 object life cycle.

License: GNU General Public License v3.0

Java 100.00%

javafx-boilerplate-hibernate-lifecycles-1nn1's Introduction

javafx-boilerplate-hibernate-lifecycle-1nn1

A boilerplate project for JavaFX development with JPA and hibernate. It shows some real world use cases relevant for association lifecycle. I felt most tutorials on the web lacking this complete lifecycle and are almost useless therefore. Features:

  • guice DI integration with gluonhq's ignite
  • a sample for communication between two controllers
  • simple sync of elements in ListView with the help of Bean Properties and Observable (changes are synced across different views)
  • a simple window manager concept
  • jpa with hibernate
  • h2 database is created, schema is created automatically. See persistence.xml
  • jpa guice provider
  • GenericDAO sample
  • Lifecycle of association in real world use cases: GUI
  • 1nn1 Lifecycle
  • Observable

This project is not meant to be a full fledged template. Rather it is a snapshot of a bigger project I'm working on. The key-features are ported into this template. For it contains bugs and misconceptions. Especially the included GenericDAO needs further work.

There are a vast of libraries included:

Library Description
com.google.inject:guice:4.1.0 DI Framework
com.gluonhq:ignite-guice:1.0.1 DI Framework for JavaFX (FXML-Loader)
org.hibernate:hibernate-core:5.2.1.Final Hibernate JPA Implementation
com.google.inject.extensions:guice-persist:4.1.0 Guice JPA Extension
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final Hibernate JPA Interface
com.h2database:h2:1.4.193 H2 Database Driver
org.lazyluke:log4jdbc-remix:0.2.7 Logging SQL Statements trough dedicated Driver
org.slf4j:slf4j-api:1.7.21 Logger
org.slf4j:slf4j-log4j12:1.7.21 Logger
log4j:log4j:1.2.17 Logger
uaihebert.com:uaiCriteria:4.0.0 JPA Criterion API / Library / Simplification
com.github.vbauer:herald:1.2.3 @Log Annotation for Logger injection
org.kohsuke:wordnet-random-name:1.3 Create random names used for random person generator

See javafx-boilerplate-hibernate-lifecycles for a basic example with JPA and hibernate.

javafx-boilerplate-hibernate-lifecycles-1nn1's People

Contributors

no3x avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.