Expandir la barra de logros de la comunidad.

Mark Solution

Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.

RESUELTAS

what other things can I do with OSGI in the context of AEM?

Avatar

Level 9

presently, I've only used OSGI (where I've used the import Java directive to include various OSGI libraries in my custom code)

 

  • store custom app config
  • get environment info (whether it's test,prod or author, publisher and etc)

-------

 

In our custom code base, we have a folder called "core" and inside it is a pom.xml that imports several OSGI jars.

 

Is it likely that the whole "core" folder is an OSGI bundle? (I know the core folder shows in /system/console/bundles) all the java code inside is a "component"?

 

Thank you.

1 solución aceptada

Avatar

Respuesta correcta de
Employee Advisor

1. If we talk about "core" , actually it represents application ,where application composed of several components, which are packed in bundle. 

Our project specific complex business logics are part of this bundle.

2.  We could see out of the box OSGi configurations and these are playing crucial role in terms of maintainability, establishing connection with DB, LDAP, SAML (just imagine you can update property file during runtime)

3. An increasing number of open source projects, provide their jars are ready for OSGi. This helps in re-usage of available technologies and functionalities. 

Ver la solución en mensaje original publicado

1 Respuesta

Avatar

Respuesta correcta de
Employee Advisor

1. If we talk about "core" , actually it represents application ,where application composed of several components, which are packed in bundle. 

Our project specific complex business logics are part of this bundle.

2.  We could see out of the box OSGi configurations and these are playing crucial role in terms of maintainability, establishing connection with DB, LDAP, SAML (just imagine you can update property file during runtime)

3. An increasing number of open source projects, provide their jars are ready for OSGi. This helps in re-usage of available technologies and functionalities.