Developing 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. You 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.

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

Note:

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 you 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 that contains enterprise beans in a similar way to deploying and configuring a Java EE enterprise application, by using wsadmin or the administrative console.

Note:

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


Ícone que indica o tipo de tópico Tópico de Referência



Ícone de registro de data e hora Última atualização: July 9, 2016 8:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=welc6tech_osgi_dev
Nome do arquivo: welc6tech_osgi_dev.html