concept OSGi environment in category osgi

appears as: OSGi environment, n OSGi environment
OSGi in Depth

This is an excerpt from Manning's book OSGi in Depth.

Because we were careful to isolate the OSGi-related code to a single class called SealedFirstPriceAuctioneerActivator, you can instantiate the class SealedFirstPriceAuction in isolation within a JUnit Testcase class without having to worry about the OSGi environment, as shown in the following listing.

Let’s take a step back. Our initial goal is to be able to access Java EE resources within an OSGi environment. As you’ve learned in this section, Java EE resources are bound to JNDI. Therefore, to fulfill our goal, we need to be able to use JNDI within a bundle. We’ll look at how to accomplish that in the next section.