Chapter 7. The persistence bundle

 

This chapter covers
  • Using the bundle’s storage area to manipulate external data
  • Reading and writing data to persistent storage using JDBC and JPA
  • Registering new JDBC drivers
  • Invoking external OSGi services through different transports

 

As you’ve learned, OSGi applications are part of a larger ecosystem and constantly need to engage with other applications and deal with external components. In the previous chapter, you learned how to interact with diverse components by publishing and subscribing to application and business events. In this chapter, we’ll investigate other means of collaboration, specifically how to access external (business) data by reading and writing data to and from persistent storage. ...

Get OSGi in Depth 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.