Wednesday, July 13, 2016

What is OSGI EE ? (22/250-2016)

OSGI EE - provides support for

  • JPA
  • JNDI
  • WEB (HTTP)
  • JTA
  • JDBC
  • CDI and 
  • EJB
  • This is implemented by Apache ARIES project
  • And OPS4J PAX - OPS4J
What is an OSGI EE Container - 
  • OSGI Services (Java Interfaces)
  • JPA, JTA OSGI Contianer
  • Web OSGI Container
  • Blueprint (IOC) to configure services, beans and access services
  • JNDI Wrapper
  • SPIFly  - http://aries.apache.org/modules/spi-fly.html

What is Karaf ? (21/250-2016)

Karaf - Birthdate - 16th of June 2010

● Platform running on OSGI (Apache Felix, Eclipse Equinox)

● Provides a lightweight container where

  • Applications, 
  • Integration projects
  • Web Service, 
  • JMS Brokers
  • Java applications can be deployed

● Used by JBoss Fuse, ServiceMix, Geronimo projects

Karaf consists of components




What is OSGI (20/250 - 2016)

OSGi (Open Service Gateway Initiative) -  * Java Framework / Develop modular software programs and libraries
Part 1 - * Specification for modular components - bundles / plug-ins
Part 2 - * JVM level registry - that bundles can use to publish / * discover and bind to services in a SOA.

Modularity
* Total control over library versions and dependencies- different versions of the same library will happliy co-exist in the same container.
* Quick Hot Deployment - restart / refresh operations
* Fully inspect - what packages and versions are used.
* Deploy exactly the modules and framework that is needed and no more
References:
* http://stackoverflow.com/questions/7490166/osgi-benefits-over-java-ee
* http://bit.ly/29E6uye -