1. 1Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Chris Frost
Eclipse Virgo with
Snaps
2. 2Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Agenda
• Snaps basics
• Drinking Snaps...
• Current status
• Demo time &
customisingVirgo with Snaps
3. 3Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Snaps basics
• Lots of Snaps (Web Application Bundles)
• One ServletContext
• Uses a filter to dispatch requests from the host
• Everything else is business as normal
4. 4Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Start drinking
/app/orders /app/billing
5. 5Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Snaps filtered
• Still just web.xml
• Define the subpath for slices with a filter
6. 6Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Snaps Tags
• JSP tag to look up slices & their properties
7. 7Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Current Status
• Prototype
• Works withVirgo 2.1.0.RELEASE
and Gemini 1.1.0.RELEASE
• In the future....
8. 8Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Getting Started
• Pre-req: Java 6,Virgo & Gemini Web
• DownloadVirgo or Grab a Memory Stick
• Check out Snaps from Git
• Modify and play with the samples
9. 9Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Further Information
• git://git.eclipse.org/gitroot/virgo/org.eclipse
.virgo.snaps.git
• #VirgoRT
• http://wiki.eclipse.org/Virgo/Community
10. 10Copyright VMware 2009, 2010. Licensed under the Eclipse Public License.
Demo Time
• But first....
• CustomisingVirgo is EASY
• Add the Snaps Bundles to a Repo
• One line change to include it in the Server