Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. The persistence bundle

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.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial