2.5. Conclusion

This chapter examined issues around persistence frameworks and how or when they should be used in applications.

O/R mapping should be used when existing database applications have to run together with newly developed applications—for instance, a mature procurement system that needs to be accessed via the Internet. Existing data analysis tools like OLAP-based data mining tools or reporting solutions can be a reason to use O/R mapping as well. To become independent of database vendors may be another advantage of O/R mapping tools. Although it is doubtful that an application runs out-of-the-box on a different database system with expected performance, a mapping layer helps to port such applications in a fraction of the time. The ...

Get Core Java™ Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.