| <html><head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
| <title>1. Introduction</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Virgo Snaps User Guide"><link rel="up" href="index.html" title="Virgo Snaps User Guide"><link rel="prev" href="index.html" title="Virgo Snaps User Guide"><link rel="next" href="ch01s02.html" title="1.2 Prerequisites"><!--Begin Google Analytics code--><script type="text/javascript"> | |
| var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
| document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
| </script><script type="text/javascript"> | |
| var pageTracker = _gat._getTracker("UA-2728886-3"); | |
| pageTracker._setDomainName("none"); | |
| pageTracker._setAllowLinker(true); | |
| pageTracker._trackPageview(); | |
| </script><!--End Google Analytics code--></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1. Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="introduction"></a>1. Introduction</h2></div></div></div><p> | |
| This Guide covers Virgo Snaps and assumes you are already familiar with OSGi and Virgo. See <a class="link" href="ch05.html" title="5. Further Reading">here</a>. | |
| </p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="introduction-concepts"></a>1.1 Concepts</h2></div></div></div><p> | |
| Using Virgo Snaps, or VS for short, you can construct a web application from multiple OSGi | |
| bundles, each of which serves up content for a distinct sub-portion of your application's URL space. VS | |
| applications are arranged in a parent/child structure, with each application having at most one top-level parent, and zero or more | |
| children/grand children and so on. Parents are referred to as the hosts, children as snaps. | |
| </p><p> | |
| <img src="images/snapsAndHosts.png"> | |
| </p><p> | |
| Here you see that any <code class="literal">HTTP</code> requests for '/app' will be dealt with by the host bundle while '/app/orders' | |
| and '/app/billing' will be dealt with by their respective snaps bundles. Each host/snap can use completely different web technologies | |
| to deal with the requests, VS places no restrictions on your choices. The developer decides how to split | |
| the application up and how closely to couple the host and various snaps. VS has been designed to be as | |
| un-invasive as possible while still making it easy to share information between the host and its snaps. | |
| </p></div></div><!--Begin LoopFuse code--><script src="http://loopfuse.net/webrecorder/js/listen.js" type="text/javascript"></script><script type="text/javascript"> | |
| _lf_cid = "LF_48be82fa"; | |
| _lf_remora(); | |
| </script><!--End LoopFuse code--><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Virgo Snaps User Guide </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 1.2 Prerequisites</td></tr></table></div></body></html> |