Chapter 8. Tools for building and testing

This chapter covers

  • Strategies for building OSGi bundles
  • How to choose a set of tools that works for you
  • Useful command-line OSGi tools
  • Using Maven and Ant to build OSGi bundles and EBA applications
  • How to unit test OSGi bundles
  • How to run tests on bundles inside an OSGi framework

As you’ve been working through the OSGi examples in this book, we’ve cheerfully assumed that you didn’t need much help building your example bundles. After all, an OSGi bundle is a JAR with some extra metadata, and even an enterprise OSGi bundle is only an OSGi bundle with even more extra metadata. But just because you can build OSGi bundles the same way that you build ordinary JARs doesn’t mean you should. A lot of ...

Get Enterprise OSGi In Action 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.