Skip to main content



      Home
Home » Eclipse Projects » Virgo » What is the difference between bundle fragment and snap?
What is the difference between bundle fragment and snap? [message #1011730] Wed, 20 February 2013 01:42 Go to next message
Eclipse UserFriend
I found virgo has bundle fragment that can attach to other host-fragment.
It look like concept of virgo snap bundle.
In the host MANIFEST.MF have same configuration, but it use HOST-FRAGMENT: on fragment bundle and Snap-ContextPath: on snap bundle.

What is the defference of both?

Thank you.
Re: What is the difference between bundle fragment and snap? [message #1011854 is a reply to message #1011730] Wed, 20 February 2013 06:29 Go to previous message
Eclipse UserFriend
Hi,

The concepts are very similar but they are different processes. The Fragments/Host system is an OSGi standard which creates a single combined bundle with a single classloader. It is also not possible to attach or unattach a fragment without out restarting the host bundle.

The Snaps process is much lighter and is specific to Virgo, it isn't a standard. The two bundles remain separate and have their own classloaders and the only thing that is combined is the servlet context of each bundle. This is much better for web applications as it is more dynamic and means no down time when snaps are added or removed forma web app.

Hope that helps, Chris.
Previous Topic:Virgo Survey (2013) Results
Next Topic:FuseBundles support?
Goto Forum:
  


Current Time: Wed Jul 23 11:08:46 EDT 2025

Powered by FUDForum. Page generated in 0.26138 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top