Download - Mashups in the JavaServer Faces World Ed Burns Hazem Saleh.

Transcript

Mashups in the JavaServer Faces World Ed Burns Hazem Saleh Agenda What is Mashups4JSF. Online Demo. Mashups4JSF Architecture. How to Configure Mashups4JSF. Current Mashups4JSF components. Conclusion. Intensive JavaScript Atom Feed Parsing RSS Feed Parsing JSON Parsing Different other formats parsing What is Mashups4JSF JSFHeadache+Mashups = JSF users have to know What is Mashups4JSF JSFHeadache+Mashups = Study low level APIs of other Mashup libraries. Write much integration code. Also What is Mashups4JSF Undergoing incubation open source project. Mashups4JSF Integrating famous mashup services with the JSF applications. Aims Constructing complicated mashups using simple tags and service wrappers. Constructing complicated mashups using simple tags and service wrappers. Agenda What is Mashups4JSF. Online Demo. Mashups4JSF Architecture. How to Configure Mashups4JSF. Current Mashups4JSF components. Conclusion. Mashups4JSF Architecture Agenda What is Mashups4JSF. Online Demo. Mashups4JSF Architecture. How to Configure Mashups4JSF. Current Mashups4JSF components. Conclusion. Step1: Two possible ways How to Configure Mashups4JSF Download the latest stable snapshot jar from the project homepage: Checkout the project source code by executing the following command: At the parent pom directory, just execute the following command: The library jar will be built and the library examples war as well. Maven2 BuildJar Download svn checkoutsvn/trunk/ mashups4jsf-read-only mvn clean install Step 2: How to Configure Mashups4JSF Place the downloaded jar in the WEB-INF/lib folder. Add the following declaration to your XHTML page. Welcome to Vienna "/> GMaps4JSF Main Components map note icon marker streetView Panorama groundoverlaymapControl Icon Component For customizing the markers image GMaps4JSF Main Components map note icon marker streetView Panorama groundoverlaymapControl MapControl Component Is used for adding and positioning map controls. Possible Controls are: GScaleControlGSmallZoomControlGSmallMapControlGLargeMapControl GHierarchicalMapType Control GMapTypeControlGOverviewMapControl MapControl Component GMaps4JSF Main Components map note icon marker streetView Panorama groundoverlaymapControl Groundoverlay Component Is used for adding a ground overlay on the map. GMaps4JSF Main Components map note icon marker streetView Panorama groundoverlaymapControl StreetViewPanorama Component A Google Map component that allows viewing the streets that are supported by Google Maps Create the Google Maps streetViewPanorama using the longitude and latitude or using address Allow controlling the zooming Allow controlling the camera attributes Allow controlling its size StreetViewPanorama Component StreetViewPanorama Component The Feed Description: #{feed.description} The Index: #{entryIndex} The Title: #{entry.title} The Link: #{entry.link} The Author: #{entry.author} The Category: #{entry.categories[0].name} Generic Feed Reader Components RSS 2.0 Feed Sample: Example Channel Description xyz Example title Author1Java Generic Feed Reader Components Using the : The Channel Description: #{channel.description} The Index: #{itemIndex} The Title: #{item.title} The Link: #{item.link} The Author: #{item.author} The Category: #{item.categories[0].name} Agenda What is Mashups4JSF. Online Demo. Mashups4JSF Architecture. How to Configure Mashups4JSF. Current Mashups4JSF components. Conclusion. Online Demo Agenda What is Mashups4JSF Online Demo. Mashups4JSF Architecture. How to Configure Mashups4JSF. Current Mashups4JSF components. Conclusion GMaps4JSF gives the JSF developers the ability to create complicated maps with all of their details easily. GMaps4JSF offers the declarative Google Maps. Mashups4JSF is going on the way of GMaps4JSF to support declarative mashups. Mashups4JSF is an open source project and still undergoing incubation, so your ideas and contributions are welcome. You can post your ideas and improvements here: Jose Noheda Damian Pooley