|
Re: What is the difference between bundle fragment and snap? [message #1011854 is a reply to message #1011730] |
Wed, 20 February 2013 11:29 |
|
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.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
Powered by
FUDForum. Page generated in 0.03442 seconds