Glassfish as an OSGi Container

前端 未结 5 904
灰色年华
灰色年华 2021-02-07 08:28

I\'m evaluating OSGi containers and the subject came up of using Glassfish to contain my OSGi application components. My question is: Is Glassfish good for this? Does anybody h

相关标签:
5条回答
  • 2021-02-07 09:00

    The demo Jesper mentions uses OSGi declarative services. See this detailed blog entry GlassFish can also be installed on an existing OSGi runtime (Felix or Equinox). Current OSGi efforts are focusing on hybrid apps and the OSGI enterprise spec. It let's JPA, JDBC, HTTP and other services to be packaged as OSGi bundles.

    0 讨论(0)
  • 2021-02-07 09:03

    While Glassfish may be a good candidate for an OSGi container, it is fairly large, due to the fact that it is primarily a Java EE container. If I were writing an OSGi application, I would use Karaf/Felix as the container. Its small, OSGi specific, OSGi 4.2 compliant, in active development (bugs get fixed quickly), and has a large group of OSGi users.

    0 讨论(0)
  • 2021-02-07 09:07

    The fastest OSGi container is probably NetBeans' http://wiki.apidesign.org/wiki/JDeveloper

    For more info see http://platform.netbeans.org/tutorials/nbm-osgi-quickstart.html

    0 讨论(0)
  • 2021-02-07 09:13

    GlassFish is IMO a serious candidate and I would definitely look at it. Some resources:

    • GlassFish/OSGi Dashboard
    • GlassFish and OSGi (and Sahoo) at EclipseCon 2010
    • GlassFish v3, OSGi Equinox Felix by Jerome Dochez and Ludovic Champenois
    0 讨论(0)
  • 2021-02-07 09:21

    Have a look at http://java.dzone.com/news/from-osgi-glassfish-5-steps

    0 讨论(0)
提交回复
热议问题