Java Reference
In-Depth Information
Persistence pays off
This chapter covers
The benefits of JDBC and JPA, and why they
won't work in an OSGi environment without help
How enterprise OSGi and the Apache Aries
extensions restore a lovely programming model
How to read and write from a database in your
sample application
How to use transactions for cleanup when
things go wrong
Just as it needs a frontend, every enterprise application needs a backend. For many
business applications the heart of the backend is persistence—either read-only
access to a directory service, or a full read-write relational data mine, or something
in between. This chapter explains how to use persistence and transactions in an
enterprise OSG i environment.
Let's start with a reminder of the persistence options available in Java.
55
Search WWH ::




Custom Search