I have a java SE web application that is divided in layers. each database table has its own class and I write manually the updates, inserts and deletes in JDBC.
Is it easy to migrate my project to Spring to benefit from JPA ?
And should I do it? A key objective of the project is to be totally flexible and easy to develop, and it is right now so what are the benefits of migrating.
Thank you
If it ain’t broke, don’t fix it 🙂
Unless there’s a compelling reason, I wouldn’t re-write your existing app.
If, however, you’re re-writing a desktop Swing (“thick client”) application to be a web app, that alone might be sufficient justification to invest in the learning curve to try Spring.
IMHO…