+

Search Tips   |   Advanced Search

Develop OSGi applications

This page provides a starting point for finding out how to 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 that are accessed only through well-defined interfaces. The same, or different, applications can then use different versions of the same third-party libraries without interference.

New feature:

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

The enterprise beans in the 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).

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

New feature:

We can configure bean security in the Blueprint XML file of the 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. newfeat


Related information:

  • Develop OSGi applications