DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Glassfish V3: A Major Win for OSGi

Glassfish V3: A Major Win for OSGi

Aslam Khan user avatar by
Aslam Khan
·
Apr. 16, 08 · News
Like (0)
Save
Tweet
Share
11.81K Views

Join the DZone community and get the full member experience.

Join For Free

Jerome Dochez, the architect and tech lead for GlassFish, announced that GlassFish V3 now runs on OSGi. More significant, though, is that OSGi has been chosen as the module system for GlassFish. This is a big win for the OSGi camp in their on-going battle with JSR 277.

So where does this leave HK2, the GlassFish V3 kernel? Last year, HK2 was unveiled as the Hundred Kilobyte kernel that sported a module subsystem, component subsystem and a configuration subsystem. According to Sahoo, the HK2 module layer delegates to the OSGi module layer, but the component and configuration layers of HK2 have a dependency on the HK2's module layer. So, the HK2 component and config layers are now OSGi bundles. In essence, GlassFish class loading has been delegated from the HK2 class loader (the module layer) to the really strong OSGi class loader.

At the moment, GlassFish V3 is using Felix as the default OSGi runtime. It has been tested on KnoplerFish and it works. It is still very early in the move to OSGi for GlassFish, and, according to Sahoo, there is lot to be done. On the TODO list is a bundle repository. Once that is in place, you can start looking forward to pulling in bundle updates to parts of your Java application server, with full rollback capabilities for the updates. That alone, makes OSGi a worthwhile runtime for any application server.

GlassFish

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Kotlin Is More Fun Than Java And This Is a Big Deal
  • Problems of Cloud Cost Management: A Socio-Technical Analysis
  • The Real Democratization of AI, and Why It Has to Be Closely Monitored
  • DevSecOps Benefits and Challenges

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: