title: JavaFX + Hibernate(JPA) persistence + Derby DB
body: <p>I'm developing a Java desktop application and was really interested in use JavaFX. I'm planning to use an MVC architecture because I have had some experience with Java EE and the MVC model.</p>
  
  <p>I want to store data in a embedded derby database and use Hibernate as persistence layer but I can't find a great tutorial about implementing MVC with hibernate and JavaFX.</p>
  
  <p>I have created the persistence file but I am not sure how to make it work with JavaFX. In Java EE I inject EJB services or DAOs but since my app is not server connected I think I can't do that. </p>
  
  <p>Can someone explain me how to achieve that? It is possible to use them together?</p>