Hibernate or JPA or JDBC or ???
Posted
by Yatendra Goel
on Stack Overflow
See other posts from Stack Overflow
or by Yatendra Goel
Published on 2010-04-01T13:04:46Z
Indexed on
2010/04/01
13:13 UTC
Read the original article
Hit count: 296
I am developing a Java Desktop Application but have some confusions in choosing a technology for my persistence layer.
Till now, I have been using JDBC for DB operations. Now, Recently I learnt Hibernate and JPA but still I am a novice on these technologies.
Now my question is What to use for my Java Desktop Application from the following?
JPA
Hibernate
JDBC
DAO
any other suggestion from you...
I know that there is no best choice from them and it totally depends on the complexity and the requeirements of the project so below are the requirements of my project
- It's not a complex application. It contains only 5 tables (and 5 entities)
- I wan't to make my code flexible so that I can change the database later easily
- The size of the application should remain as small as possible as I will have to distribute it to my clients through internet.
- It must be free to use in commercial development and distribution.
© Stack Overflow or respective owner