JPA and database in one bank

I created an application that uses JPA and MySQL. Now I like to create a simple desktop application from it (for example, a simple jar would be better). Two questions:

  • What is the easiest way to get a project, including all banks, depends on the eclipse in a simple bank?
  • Is it possible to use a database such as sqlite or derby, which does not require installation (for example, can be included in the bank) for JPA?
+3
source share
2 answers
  • What is the easiest way to get a project, including all banks, depends on the eclipse in a simple bank?

Java, , , "" > "Runnable JAR file" , , " ".

alt text

  • , ​​ sqlite derby, (, ) JPA?

, . JDBC.

+4

, "" , . .

, ( JPA, , , ) . , . , , , , "bigjar", Google . , ant. ( ) Sun.

0

Source: https://habr.com/ru/post/1755507/


All Articles