+

Search Tips   |   Advanced Search

Develop OSGi applications

The OSGi Applications support in WebSphere Application Server helps you develop and deploy modular applications that use both Java EE and OSGi technologies. We can design and build applications and suites of applications from coherent, versioned, reusable OSGi modules accessed only through well-defined interfaces. The same, or different, applications can then use different versions of the same third-party libraries without interference.

For information about developing OSGi applications using WebSphere Developer Tools, see Developing OSGi applications.

An OSGi application can contain Enterprise JavaBeans (EJBs). OSGi applications can access and invoke an enterprise bean directly.

The enterprise beans in your OSGi bundles can be developed from scratch, or we can include existing EJB assets and migrate them to use OSGi modularity with minimal code changes. Stateful, stateless, and singleton enterprise beans are supported. Your OSGi application can also contain message-driven beans (MDBs).

We deploy and configure an OSGi application containing enterprise beans in a similar way to deploying and configuring a Java EE enterprise application, using wsadmin or the administrative console.

We can configure bean security in the Blueprint XML file of our OSGi applications, so that the methods of the bean can be accessed only by users assigned a specified role. We can configure bean-level security, so that a single role is associated with all the methods of the bean, or we can configure method-level security, where different roles are associated with specific methods.

  • Develop OSGi applications