I’m just writing a small java application and I would like to be able to persist the data model in a database. So I was wondering if I could use JPA for this. I used JPA some time ago, but as far as I remembered it required an application server. So I’m wondering can I just JPA to persists my classes w/o using an application server.
Share
Yes, you can use JPA without an application server. Here’s a tutorial which may help you: TopLink JPA: How to use JPA with Java SE