glassfish
  1. glassfish
  2. GLASSFISH-6741

OSGi based EAR (all JARs are OSGi Bundles) deployment

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: future release
    • Component/s: OSGi-JavaEE
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      6,741

      Description

      Hi,

      One idea related with OSGi based EAR (all JARs are OSGi Bundles) deployment? If
      you are interested I can start working on that idea?
      For example the content in one OSGi based EAR file will be:
      1. Core Java EE Application:
      1.1. One or more EJB bundles. It is good all interfaces to be separated from
      the implementation in different bundles.
      1.2. One Web Application Bundle (JAR file)
      1.3. One Java Web Start (JWS) Application Bundle (JAR file)
      2. Libraries:
      2.1. Zero or many libraries represented as bundles. For example Hibernate,
      Apache, JDBC Drivers, etc.

      It is good the Swing application (JWS) to be started in some OSGi Framework
      which to retrive from the Server or another place signed Bundles (JARs). This
      will require some changes in Java Network Launch Protocol (JNLP) because the 1st
      action MUST be downloading of OSGi Framework (if this is a part of JDK7 then
      this part will be skipped) and then to download and install all bundles from
      which the main application bundles depends. As repository for bundles can be used:
      1. The Server from where the application is started
      2. Maven Repositories
      3. OSGi Bundle Repository (OBR)

      Regards,
      Miro.

        Activity

        Hide
        TangYong added a comment -

        sahoo, what miro said is simlar to obr ondemand deployment, however, about osgi 5's subsytem, firstly, from david's blog[1], the Subsystems RI is being implemented in Apache Aries. If true, I have doubted whether felix will implement the important and complex feature or not. If felix will be not plan to implement it, whether we need to implement it self or not?

        In addition, I have not found any info that felix will have a plan to implement the subsystem.

        [1]: http://osgithoughts.blogspot.com/2012/06/osgi-enterprise-r5-specifications.html

        Show
        TangYong added a comment - sahoo, what miro said is simlar to obr ondemand deployment, however, about osgi 5's subsytem, firstly, from david's blog [1] , the Subsystems RI is being implemented in Apache Aries. If true, I have doubted whether felix will implement the important and complex feature or not. If felix will be not plan to implement it, whether we need to implement it self or not? In addition, I have not found any info that felix will have a plan to implement the subsystem. [1] : http://osgithoughts.blogspot.com/2012/06/osgi-enterprise-r5-specifications.html
        Hide
        Sanjeeb Sahoo added a comment -

        Will do this subsystem support is available in Felix

        Show
        Sanjeeb Sahoo added a comment - Will do this subsystem support is available in Felix
        Hide
        Hong Zhang added a comment -

        assign to sahoo for initial evaluation

        Show
        Hong Zhang added a comment - assign to sahoo for initial evaluation

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            miro
          • Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: